#33189B#33189B

#33189B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.191 H 279.9°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#33189B
RGBrgb(51, 24, 155)
HSLhsl(252, 73%, 35%)
HSVhsv(252, 85%, 61%)
CMYKcmyk(67.1%, 84.5%, 0%, 39.2%)
CIE-LABlab(22.73, 48.51, -65.24)
CIE-LCHlch(22.73, 81.30, 306.63°)
OKLaboklab(35.6% 0.0329 -0.1883)
OKLCHoklch(35.6% 0.191 279.9)
XYZxyz(7.6064, 3.7230, 31.3218)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33189B #809B18
analogous
#183F9B #33189B #74189B
triadic
#33189B #9B3318 #189B33
tetradic
#33189B #9B183F #809B18 #189B74
square
#33189B #9B183F #809B18 #189B74
split-complementary
#33189B #9B7418 #3F9B18
monochromatic
#100831 #221066 #33189B #4420D0 #6A4AE3

Accessibility & contrast

On white

12.04
#33189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#33189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33189B
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33189B#FFFFFF#000000##FFFFFF
##33189B1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9E
Deuteranopia (green-blind)
#003199
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #33189b;
/* rgb */ color: rgb(51, 24, 155);
/* oklch */ color: oklch(35.6% 0.191 279.9);
Tailwind
colors: {
  custom: {
    50: '#7b5bba',
    500: '#33189b',
    950: '#000000',
  },
}
SCSS
$custom: #33189b;
$custom-light: #7b5bba;
$custom-dark: #000000;
JSON
{
  "hex": "#33189b",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 252.366,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35597,
    "c": 0.1912,
    "h": 279.9
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#33189B
secondary
#ABC54A
accent
#F038CA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33189B

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

Preview Lab → · Contrast checker → · Palette generator →

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