#33125F#33125F

#33125F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.126 H 297.0°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#33125F
RGBrgb(51, 18, 95)
HSLhsl(266, 68%, 22%)
HSVhsv(266, 81%, 37%)
CMYKcmyk(46.3%, 81.1%, 0%, 62.7%)
CIE-LABlab(15.29, 33.77, -39.23)
CIE-LCHlch(15.29, 51.76, 310.72°)
OKLaboklab(28.5% 0.0573 -0.1123)
OKLCHoklch(28.5% 0.126 297)
XYZxyz(3.6466, 1.9626, 11.0109)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33125F #3E5F12
analogous
#12185F #33125F #5A125F
triadic
#33125F #5F3312 #125F33
tetradic
#33125F #5F1218 #3E5F12 #125F5A
square
#33125F #5F1218 #3E5F12 #125F5A
split-complementary
#33125F #5F5A12 #185F12
monochromatic
#0E051A #17082C #33125F #4F1C92 #6A25C6

Accessibility & contrast

On white

15.08
#33125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33125F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33125F#FFFFFF#000000##FFFFFF
##33125F1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#272738
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #33125f;
/* rgb */ color: rgb(51, 18, 95);
/* oklch */ color: oklch(28.5% 0.126 297.0);
Tailwind
colors: {
  custom: {
    50: '#70548d',
    500: '#33125f',
    950: '#000000',
  },
}
SCSS
$custom: #33125f;
$custom-light: #70548d;
$custom-dark: #000000;
JSON
{
  "hex": "#33125f",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 265.714,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28499,
    "c": 0.12608,
    "h": 297
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#33125F
secondary
#6D9736
accent
#EB3DA0
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33125F

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

Preview Lab → · Contrast checker → · Palette generator →

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