#33236F#33236F

#33236F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.5% C 0.125 H 286.9°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#33236F
RGBrgb(51, 35, 111)
HSLhsl(253, 52%, 29%)
HSVhsv(253, 68%, 44%)
CMYKcmyk(54.1%, 68.5%, 0%, 56.5%)
CIE-LABlab(20.26, 28.98, -41.63)
CIE-LCHlch(20.26, 50.72, 304.85°)
OKLaboklab(32.5% 0.0364 -0.1194)
OKLCHoklch(32.5% 0.125 286.9)
XYZxyz(4.8347, 3.0533, 15.3704)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33236F #5F6F23
analogous
#23396F #33236F #59236F
triadic
#33236F #6F3323 #236F33
tetradic
#33236F #6F2339 #5F6F23 #236F59
square
#33236F #6F2339 #5F6F23 #236F59
split-complementary
#33236F #6F5923 #396F23
monochromatic
#0B0717 #1E1440 #33236F #48329E #6247C5

Accessibility & contrast

On white

13.04
#33236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#33236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33236F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33236F#FFFFFF#000000##FFFFFF
##33236F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#1C3645
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #33236f;
/* rgb */ color: rgb(51, 35, 111);
/* oklch */ color: oklch(32.5% 0.125 286.9);
Tailwind
colors: {
  custom: {
    50: '#715f99',
    500: '#33236f',
    950: '#000000',
  },
}
SCSS
$custom: #33236f;
$custom-light: #715f99;
$custom-dark: #000000;
JSON
{
  "hex": "#33236f",
  "rgb": {
    "r": 51,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 252.632,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32495,
    "c": 0.12483,
    "h": 286.9
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#33236F
secondary
#90A24C
accent
#DB4CBD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #33236F

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

Preview Lab → · Contrast checker → · Palette generator →

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