#33123A#33123A

#33123A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.081 H 320.3°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#33123A
RGBrgb(51, 18, 58)
HSLhsl(290, 53%, 15%)
HSVhsv(290, 69%, 23%)
CMYKcmyk(12.1%, 69%, 0%, 77.3%)
CIE-LABlab(12.23, 23.86, -18.66)
CIE-LCHlch(12.23, 30.30, 321.97°)
OKLaboklab(25.36% 0.0626 -0.052)
OKLCHoklch(25.36% 0.081 320.3)
XYZxyz(2.3452, 1.4420, 4.1570)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33123A #193A12
analogous
#1F123A #33123A #3A122D
triadic
#33123A #3A3312 #123A33
tetradic
#33123A #3A1F12 #193A12 #122D3A
square
#33123A #3A1F12 #193A12 #122D3A
split-complementary
#33123A #2D3A12 #123A1F
monochromatic
#150717 #150717 #33123A #5C2069 #852F97

Accessibility & contrast

On white

16.30
#33123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33123A
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33123A#FFFFFF#000000##FFFFFF
##33123A1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091E3B
Deuteranopia (green-blind)
#152139
Tritanopia (blue-blind)
#331823
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #33123a;
/* rgb */ color: rgb(51, 18, 58);
/* oklch */ color: oklch(25.4% 0.081 320.3);
Tailwind
colors: {
  custom: {
    50: '#6c5270',
    500: '#33123a',
    950: '#000000',
  },
}
SCSS
$custom: #33123a;
$custom-light: #6c5270;
$custom-dark: #000000;
JSON
{
  "hex": "#33123a",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 289.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25356,
    "c": 0.08137,
    "h": 320.3
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#33123A
secondary
#407335
accent
#DC4C65
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #33123A

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

Preview Lab → · Contrast checker → · Palette generator →

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