#33123C#33123C

#33123C is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.5% C 0.084 H 318.5°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#33123C
RGBrgb(51, 18, 60)
HSLhsl(287, 54%, 15%)
HSVhsv(287, 70%, 24%)
CMYKcmyk(15%, 70%, 0%, 76.5%)
CIE-LABlab(12.37, 24.34, -19.88)
CIE-LCHlch(12.37, 31.43, 320.77°)
OKLaboklab(25.5% 0.0627 -0.0555)
OKLCHoklch(25.5% 0.084 318.5)
XYZxyz(2.3970, 1.4628, 4.4302)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33123C #1B3C12
analogous
#1E123C #33123C #3C1230
triadic
#33123C #3C3312 #123C33
tetradic
#33123C #3C1E12 #1B3C12 #12303C
square
#33123C #3C1E12 #1B3C12 #12303C
split-complementary
#33123C #303C12 #123C1E
monochromatic
#140718 #140718 #33123C #5B206B #832E9A

Accessibility & contrast

On white

16.25
#33123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33123C
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33123C#FFFFFF#000000##FFFFFF
##33123C1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071E3D
Deuteranopia (green-blind)
#14213B
Tritanopia (blue-blind)
#331925
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #33123c;
/* rgb */ color: rgb(51, 18, 60);
/* oklch */ color: oklch(25.5% 0.084 318.5);
Tailwind
colors: {
  custom: {
    50: '#6c5272',
    500: '#33123c',
    950: '#000000',
  },
}
SCSS
$custom: #33123c;
$custom-light: #6c5272;
$custom-dark: #000000;
JSON
{
  "hex": "#33123c",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 287.143,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25498,
    "c": 0.08373,
    "h": 318.5
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#33123C
secondary
#437535
accent
#DD4B6A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #33123C

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

Preview Lab → · Contrast checker → · Palette generator →

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