#33236B#33236B

#33236B is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.1% C 0.119 H 288.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#33236B
RGBrgb(51, 35, 107)
HSLhsl(253, 51%, 28%)
HSVhsv(253, 67%, 42%)
CMYKcmyk(52.3%, 67.3%, 0%, 58%)
CIE-LABlab(19.91, 27.67, -39.59)
CIE-LCHlch(19.91, 48.31, 304.95°)
OKLaboklab(32.14% 0.0368 -0.1134)
OKLCHoklch(32.14% 0.119 288)
XYZxyz(4.6193, 2.9672, 14.2364)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33236B #5B6B23
analogous
#23376B #33236B #57236B
triadic
#33236B #6B3323 #236B33
tetradic
#33236B #6B2337 #5B6B23 #236B57
square
#33236B #6B2337 #5B6B23 #236B57
split-complementary
#33236B #6B5723 #376B23
monochromatic
#0B0817 #1D143D #33236B #493299 #6246C2

Accessibility & contrast

On white

13.18
#33236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#33236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33236B
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33236B#FFFFFF#000000##FFFFFF
##33236B1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#1F3443
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33236b;
/* rgb */ color: rgb(51, 35, 107);
/* oklch */ color: oklch(32.1% 0.119 288.0);
Tailwind
colors: {
  custom: {
    50: '#705f96',
    500: '#33236b',
    950: '#000000',
  },
}
SCSS
$custom: #33236b;
$custom-light: #705f96;
$custom-dark: #000000;
JSON
{
  "hex": "#33236b",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 253.333,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.11927,
    "h": 288
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#33236B
secondary
#8C9E4B
accent
#DA4EBB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #33236B

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

Preview Lab → · Contrast checker → · Palette generator →

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