#33189F#33189F

#33189F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.196 H 279.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#33189F
RGBrgb(51, 24, 159)
HSLhsl(252, 74%, 36%)
HSVhsv(252, 85%, 62%)
CMYKcmyk(67.9%, 84.9%, 0%, 37.6%)
CIE-LABlab(23.20, 49.67, -66.92)
CIE-LCHlch(23.20, 83.34, 306.59°)
OKLaboklab(36.05% 0.0316 -0.1932)
OKLCHoklch(36.05% 0.196 279.3)
XYZxyz(7.9479, 3.8596, 33.1203)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33189F #849F18
analogous
#18409F #33189F #76189F
triadic
#33189F #9F3318 #189F33
tetradic
#33189F #9F1840 #849F18 #189F76
square
#33189F #9F1840 #849F18 #189F76
split-complementary
#33189F #9F7618 #409F18
monochromatic
#110835 #22106A #33189F #4420D4 #6B4DE4

Accessibility & contrast

On white

11.85
#33189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#33189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33189F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33189F#FFFFFF#000000##FFFFFF
##33189F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #33189f;
/* rgb */ color: rgb(51, 24, 159);
/* oklch */ color: oklch(36.1% 0.196 279.3);
Tailwind
colors: {
  custom: {
    50: '#7b5bbd',
    500: '#33189f',
    950: '#000000',
  },
}
SCSS
$custom: #33189f;
$custom-light: #7b5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#33189f",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 252,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36054,
    "c": 0.19576,
    "h": 279.3
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#33189F
secondary
#AEC64D
accent
#F037CB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #33189F

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

Preview Lab → · Contrast checker → · Palette generator →

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