#33197B#33197B

#33197B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.152 H 286.3°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#33197B
RGBrgb(51, 25, 123)
HSLhsl(256, 66%, 29%)
HSVhsv(256, 80%, 48%)
CMYKcmyk(58.5%, 79.7%, 0%, 51.8%)
CIE-LABlab(19.34, 38.52, -50.83)
CIE-LCHlch(19.34, 63.77, 307.15°)
OKLaboklab(32.2% 0.0429 -0.1463)
OKLCHoklch(32.2% 0.153 286.3)
XYZxyz(5.2869, 2.8288, 19.0025)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33197B #617B19
analogous
#19307B #33197B #64197B
triadic
#33197B #7B3319 #197B33
tetradic
#33197B #7B1930 #617B19 #197B64
square
#33197B #7B1930 #617B19 #197B64
split-complementary
#33197B #7B6419 #307B19
monochromatic
#0B0519 #1E0F48 #33197B #4823AE #6238D7

Accessibility & contrast

On white

13.41
#33197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#33197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33197B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33197B#FFFFFF#000000##FFFFFF
##33197B1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#113549
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33197b;
/* rgb */ color: rgb(51, 25, 123);
/* oklch */ color: oklch(32.2% 0.152 286.3);
Tailwind
colors: {
  custom: {
    50: '#7459a2',
    500: '#33197b',
    950: '#000000',
  },
}
SCSS
$custom: #33197b;
$custom-light: #7459a2;
$custom-dark: #000000;
JSON
{
  "hex": "#33197b",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 255.918,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32199,
    "c": 0.1525,
    "h": 286.3
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#33197B
secondary
#92AF40
accent
#E93FBC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #33197B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#33197B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva