#33123B#33123B

#33123B is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.4% C 0.083 H 319.4°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#33123B
RGBrgb(51, 18, 59)
HSLhsl(288, 53%, 15%)
HSVhsv(288, 69%, 23%)
CMYKcmyk(13.6%, 69.5%, 0%, 76.9%)
CIE-LABlab(12.30, 24.10, -19.27)
CIE-LCHlch(12.30, 30.86, 321.36°)
OKLaboklab(25.43% 0.0627 -0.0537)
OKLCHoklch(25.43% 0.083 319.4)
XYZxyz(2.3709, 1.4523, 4.2923)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33123B #1A3B12
analogous
#1F123B #33123B #3B122E
triadic
#33123B #3B3312 #123B33
tetradic
#33123B #3B1F12 #1A3B12 #122E3B
square
#33123B #3B1F12 #1A3B12 #122E3B
split-complementary
#33123B #2E3B12 #123B1F
monochromatic
#140717 #140717 #33123B #5C206A #842F99

Accessibility & contrast

On white

16.27
#33123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#33123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33123B
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33123B#FFFFFF#000000##FFFFFF
##33123B1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3C
Deuteranopia (green-blind)
#15213A
Tritanopia (blue-blind)
#331924
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #33123b;
/* rgb */ color: rgb(51, 18, 59);
/* oklch */ color: oklch(25.4% 0.083 319.4);
Tailwind
colors: {
  custom: {
    50: '#6c5271',
    500: '#33123b',
    950: '#000000',
  },
}
SCSS
$custom: #33123b;
$custom-light: #6c5271;
$custom-dark: #000000;
JSON
{
  "hex": "#33123b",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 288.293,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25427,
    "c": 0.08255,
    "h": 319.4
  },
  "luminance": 0.01452
}

Semantic roles & 50–950 ramp

primary
#33123B
secondary
#417435
accent
#DD4B68
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #33123B

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

Preview Lab → · Contrast checker → · Palette generator →

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