#33123F#33123F

#33123F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.087 H 315.9°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#33123F
RGBrgb(51, 18, 63)
HSLhsl(284, 56%, 16%)
HSVhsv(284, 71%, 25%)
CMYKcmyk(19%, 71.4%, 0%, 75.3%)
CIE-LABlab(12.58, 25.09, -21.67)
CIE-LCHlch(12.58, 33.15, 319.18°)
OKLaboklab(25.72% 0.0627 -0.0607)
OKLCHoklch(25.72% 0.087 315.9)
XYZxyz(2.4786, 1.4954, 4.8597)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33123F #1E3F12
analogous
#1C123F #33123F #3F1234
triadic
#33123F #3F3312 #123F33
tetradic
#33123F #3F1C12 #1E3F12 #12343F
square
#33123F #3F1C12 #1E3F12 #12343F
split-complementary
#33123F #343F12 #123F1C
monochromatic
#130718 #130718 #33123F #5A206F #802D9E

Accessibility & contrast

On white

16.17
#33123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33123F
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33123F#FFFFFF#000000##FFFFFF
##33123F1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041F40
Deuteranopia (green-blind)
#12223E
Tritanopia (blue-blind)
#321A26
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #33123f;
/* rgb */ color: rgb(51, 18, 63);
/* oklch */ color: oklch(25.7% 0.087 315.9);
Tailwind
colors: {
  custom: {
    50: '#6c5274',
    500: '#33123f',
    950: '#000000',
  },
}
SCSS
$custom: #33123f;
$custom-light: #6c5274;
$custom-dark: #000000;
JSON
{
  "hex": "#33123f",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 284,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25717,
    "c": 0.08732,
    "h": 315.9
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#33123F
secondary
#477835
accent
#DF4971
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #33123F

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

Preview Lab → · Contrast checker → · Palette generator →

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