#33123D#33123D

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

Color values

HEX#33123D
RGBrgb(51, 18, 61)
HSLhsl(286, 54%, 15%)
HSVhsv(286, 70%, 24%)
CMYKcmyk(16.4%, 70.5%, 0%, 76.1%)
CIE-LABlab(12.44, 24.59, -20.48)
CIE-LCHlch(12.44, 32.00, 320.22°)
OKLaboklab(25.57% 0.0627 -0.0573)
OKLCHoklch(25.57% 0.085 317.6)
XYZxyz(2.4237, 1.4734, 4.5707)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33123D #1C3D12
analogous
#1E123D #33123D #3D1231
triadic
#33123D #3D3312 #123D33
tetradic
#33123D #3D1E12 #1C3D12 #12313D
square
#33123D #3D1E12 #1C3D12 #12313D
split-complementary
#33123D #313D12 #123D1E
monochromatic
#140718 #140718 #33123D #5B206C #822E9C

Accessibility & contrast

On white

16.22
#33123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33123D
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33123D#FFFFFF#000000##FFFFFF
##33123D1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061E3E
Deuteranopia (green-blind)
#13213C
Tritanopia (blue-blind)
#331925
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #33123d;
/* rgb */ color: rgb(51, 18, 61);
/* oklch */ color: oklch(25.6% 0.085 317.6);
Tailwind
colors: {
  custom: {
    50: '#6c5273',
    500: '#33123d',
    950: '#000000',
  },
}
SCSS
$custom: #33123d;
$custom-light: #6c5273;
$custom-dark: #000000;
JSON
{
  "hex": "#33123d",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 286.047,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2557,
    "c": 0.08492,
    "h": 317.6
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#33123D
secondary
#447635
accent
#DE4A6C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #33123D

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

Preview Lab → · Contrast checker → · Palette generator →

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