#33125E#33125E

#33125E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.125 H 297.5°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#33125E
RGBrgb(51, 18, 94)
HSLhsl(266, 68%, 22%)
HSVhsv(266, 81%, 37%)
CMYKcmyk(45.7%, 80.9%, 0%, 63.1%)
CIE-LABlab(15.19, 33.48, -38.72)
CIE-LCHlch(15.19, 51.19, 310.85°)
OKLaboklab(28.4% 0.0576 -0.1108)
OKLCHoklch(28.4% 0.125 297.5)
XYZxyz(3.6014, 1.9445, 10.7731)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33125E #3D5E12
analogous
#12175E #33125E #59125E
triadic
#33125E #5E3312 #125E33
tetradic
#33125E #5E1217 #3D5E12 #125E59
square
#33125E #5E1217 #3D5E12 #125E59
split-complementary
#33125E #5E5912 #175E12
monochromatic
#0E051A #17082B #33125E #4F1C91 #6B26C5

Accessibility & contrast

On white

15.12
#33125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33125E
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33125E#FFFFFF#000000##FFFFFF
##33125E1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#282637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33125e;
/* rgb */ color: rgb(51, 18, 94);
/* oklch */ color: oklch(28.4% 0.125 297.5);
Tailwind
colors: {
  custom: {
    50: '#70548c',
    500: '#33125e',
    950: '#000000',
  },
}
SCSS
$custom: #33125e;
$custom-light: #70548c;
$custom-dark: #000000;
JSON
{
  "hex": "#33125e",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 266.053,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28402,
    "c": 0.12488,
    "h": 297.5
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#33125E
secondary
#6C9635
accent
#EB3D9F
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33125E

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

Preview Lab → · Contrast checker → · Palette generator →

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