#33123E#33123E

#33123E is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.6% C 0.086 H 316.7°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#33123E
RGBrgb(51, 18, 62)
HSLhsl(285, 55%, 16%)
HSVhsv(285, 71%, 24%)
CMYKcmyk(17.7%, 71%, 0%, 75.7%)
CIE-LABlab(12.51, 24.84, -21.08)
CIE-LCHlch(12.51, 32.58, 319.69°)
OKLaboklab(25.64% 0.0627 -0.059)
OKLCHoklch(25.64% 0.086 316.7)
XYZxyz(2.4509, 1.4843, 4.7139)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33123E #1D3E12
analogous
#1D123E #33123E #3E1233
triadic
#33123E #3E3312 #123E33
tetradic
#33123E #3E1D12 #1D3E12 #12333E
square
#33123E #3E1D12 #1D3E12 #12333E
split-complementary
#33123E #333E12 #123E1D
monochromatic
#140718 #140718 #33123E #5A206D #812E9D

Accessibility & contrast

On white

16.19
#33123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#33123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33123E
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33123E#FFFFFF#000000##FFFFFF
##33123E1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3F
Deuteranopia (green-blind)
#13223D
Tritanopia (blue-blind)
#321A26
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #33123e;
/* rgb */ color: rgb(51, 18, 62);
/* oklch */ color: oklch(25.6% 0.086 316.7);
Tailwind
colors: {
  custom: {
    50: '#6c5273',
    500: '#33123e',
    950: '#000000',
  },
}
SCSS
$custom: #33123e;
$custom-light: #6c5273;
$custom-dark: #000000;
JSON
{
  "hex": "#33123e",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 285,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25643,
    "c": 0.08612,
    "h": 316.7
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#33123E
secondary
#457735
accent
#DE496F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #33123E

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

Preview Lab → · Contrast checker → · Palette generator →

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