#33125B#33125B

#33125B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.121 H 298.8°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#33125B
RGBrgb(51, 18, 91)
HSLhsl(267, 67%, 21%)
HSVhsv(267, 80%, 36%)
CMYKcmyk(44%, 80.2%, 0%, 64.3%)
CIE-LABlab(14.91, 32.63, -37.18)
CIE-LCHlch(14.91, 49.47, 311.28°)
OKLaboklab(28.11% 0.0584 -0.1063)
OKLCHoklch(28.11% 0.121 298.8)
XYZxyz(3.4694, 1.8917, 10.0778)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33125B #3A5B12
analogous
#12165B #33125B #58125B
triadic
#33125B #5B3312 #125B33
tetradic
#33125B #5B1216 #3A5B12 #125B58
square
#33125B #5B1216 #3A5B12 #125B58
split-complementary
#33125B #5B5812 #165B12
monochromatic
#0E051A #160828 #33125B #501C8E #6C26C1

Accessibility & contrast

On white

15.24
#33125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33125B
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33125B#FFFFFF#000000##FFFFFF
##33125B1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#292535
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33125b;
/* rgb */ color: rgb(51, 18, 91);
/* oklch */ color: oklch(28.1% 0.121 298.8);
Tailwind
colors: {
  custom: {
    50: '#6f548a',
    500: '#33125b',
    950: '#000000',
  },
}
SCSS
$custom: #33125b;
$custom-light: #6f548a;
$custom-dark: #000000;
JSON
{
  "hex": "#33125b",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 267.123,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28114,
    "c": 0.12128,
    "h": 298.8
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#33125B
secondary
#699335
accent
#EA3E9C
background
#F6F4F8
surface
#ECE8F0
border
#C7C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33125B

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

Preview Lab → · Contrast checker → · Palette generator →

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