#33125D#33125D

#33125D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.124 H 297.9°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#33125D
RGBrgb(51, 18, 93)
HSLhsl(266, 68%, 22%)
HSVhsv(266, 81%, 36%)
CMYKcmyk(45.2%, 80.6%, 0%, 63.5%)
CIE-LABlab(15.10, 33.20, -38.21)
CIE-LCHlch(15.10, 50.62, 310.99°)
OKLaboklab(28.31% 0.0579 -0.1093)
OKLCHoklch(28.31% 0.124 297.9)
XYZxyz(3.5568, 1.9267, 10.5383)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33125D #3C5D12
analogous
#12175D #33125D #59125D
triadic
#33125D #5D3312 #125D33
tetradic
#33125D #5D1217 #3C5D12 #125D59
square
#33125D #5D1217 #3C5D12 #125D59
split-complementary
#33125D #5D5912 #175D12
monochromatic
#0E051A #17082A #33125D #4F1C90 #6B26C4

Accessibility & contrast

On white

15.16
#33125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#33125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33125D
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33125D#FFFFFF#000000##FFFFFF
##33125D1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#282637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33125d;
/* rgb */ color: rgb(51, 18, 93);
/* oklch */ color: oklch(28.3% 0.124 297.9);
Tailwind
colors: {
  custom: {
    50: '#70548c',
    500: '#33125d',
    950: '#000000',
  },
}
SCSS
$custom: #33125d;
$custom-light: #70548c;
$custom-dark: #000000;
JSON
{
  "hex": "#33125d",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 266.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28305,
    "c": 0.12368,
    "h": 297.9
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#33125D
secondary
#6B9535
accent
#EA3D9E
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33125D

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

Preview Lab → · Contrast checker → · Palette generator →

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