#33236D#33236D

#33236D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.3% C 0.122 H 287.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#33236D
RGBrgb(51, 35, 109)
HSLhsl(253, 51%, 28%)
HSVhsv(253, 68%, 43%)
CMYKcmyk(53.2%, 67.9%, 0%, 57.3%)
CIE-LABlab(20.08, 28.33, -40.61)
CIE-LCHlch(20.08, 49.52, 304.90°)
OKLaboklab(32.32% 0.0366 -0.1164)
OKLCHoklch(32.32% 0.122 287.4)
XYZxyz(4.7258, 3.0098, 14.7970)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33236D #5D6D23
analogous
#23386D #33236D #58236D
triadic
#33236D #6D3323 #236D33
tetradic
#33236D #6D2338 #5D6D23 #236D58
square
#33236D #6D2338 #5D6D23 #236D58
split-complementary
#33236D #6D5823 #386D23
monochromatic
#0B0717 #1D143F #33236D #49329B #6247C4

Accessibility & contrast

On white

13.11
#33236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#33236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33236D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33236D#FFFFFF#000000##FFFFFF
##33236D1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#1E3544
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #33236d;
/* rgb */ color: rgb(51, 35, 109);
/* oklch */ color: oklch(32.3% 0.122 287.4);
Tailwind
colors: {
  custom: {
    50: '#715f97',
    500: '#33236d',
    950: '#000000',
  },
}
SCSS
$custom: #33236d;
$custom-light: #715f97;
$custom-dark: #000000;
JSON
{
  "hex": "#33236d",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 252.973,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.12206,
    "h": 287.4
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#33236D
secondary
#8EA04B
accent
#DB4DBC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #33236D

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

Preview Lab → · Contrast checker → · Palette generator →

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