#33125C#33125C

#33125C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.122 H 298.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#33125C
RGBrgb(51, 18, 92)
HSLhsl(267, 67%, 22%)
HSVhsv(267, 80%, 36%)
CMYKcmyk(44.6%, 80.4%, 0%, 63.9%)
CIE-LABlab(15.00, 32.92, -37.70)
CIE-LCHlch(15.00, 50.04, 311.13°)
OKLaboklab(28.21% 0.0582 -0.1078)
OKLCHoklch(28.21% 0.122 298.3)
XYZxyz(3.5128, 1.9091, 10.3066)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33125C #3B5C12
analogous
#12165C #33125C #58125C
triadic
#33125C #5C3312 #125C33
tetradic
#33125C #5C1216 #3B5C12 #125C58
square
#33125C #5C1216 #3B5C12 #125C58
split-complementary
#33125C #5C5812 #165C12
monochromatic
#0E051A #170829 #33125C #4F1C8F #6C26C2

Accessibility & contrast

On white

15.20
#33125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#33125C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33125C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33125C#FFFFFF#000000##FFFFFF
##33125C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#292536
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33125c;
/* rgb */ color: rgb(51, 18, 92);
/* oklch */ color: oklch(28.2% 0.122 298.3);
Tailwind
colors: {
  custom: {
    50: '#6f548b',
    500: '#33125c',
    950: '#000000',
  },
}
SCSS
$custom: #33125c;
$custom-light: #6f548b;
$custom-dark: #000000;
JSON
{
  "hex": "#33125c",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 266.757,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28209,
    "c": 0.12248,
    "h": 298.3
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#33125C
secondary
#6A9435
accent
#EA3E9D
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33125C

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

Preview Lab → · Contrast checker → · Palette generator →

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