#33186B#33186B

#33186B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.134 H 291.2°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#33186B
RGBrgb(51, 24, 107)
HSLhsl(260, 63%, 26%)
HSVhsv(260, 78%, 42%)
CMYKcmyk(52.3%, 77.6%, 0%, 58%)
CIE-LABlab(17.55, 34.19, -43.46)
CIE-LCHlch(17.55, 55.29, 308.19°)
OKLaboklab(30.44% 0.0483 -0.1247)
OKLCHoklch(30.44% 0.134 291.2)
XYZxyz(4.3450, 2.4184, 14.1449)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33186B #506B18
analogous
#18266B #33186B #5C186B
triadic
#33186B #6B3318 #186B33
tetradic
#33186B #6B1826 #506B18 #186B5C
square
#33186B #6B1826 #506B18 #186B5C
split-complementary
#33186B #6B5C18 #266B18
monochromatic
#0C0619 #1B0D39 #33186B #4B239D #632ECF

Accessibility & contrast

On white

14.15
#33186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#33186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33186B
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33186B#FFFFFF#000000##FFFFFF
##33186B1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#202E40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #33186b;
/* rgb */ color: rgb(51, 24, 107);
/* oklch */ color: oklch(30.4% 0.134 291.2);
Tailwind
colors: {
  custom: {
    50: '#715896',
    500: '#33186b',
    950: '#000000',
  },
}
SCSS
$custom: #33186b;
$custom-light: #715896;
$custom-dark: #000000;
JSON
{
  "hex": "#33186b",
  "rgb": {
    "r": 51,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 259.518,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.13377,
    "h": 291.2
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#33186B
secondary
#81A13E
accent
#E641B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #33186B

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

Preview Lab → · Contrast checker → · Palette generator →

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