#33105B#33105B

#33105B is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.124 H 299.2°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#33105B
RGBrgb(51, 16, 91)
HSLhsl(268, 70%, 21%)
HSVhsv(268, 82%, 36%)
CMYKcmyk(44%, 82.4%, 0%, 64.3%)
CIE-LABlab(14.57, 33.61, -37.74)
CIE-LCHlch(14.57, 50.53, 311.69°)
OKLaboklab(27.87% 0.0604 -0.1079)
OKLCHoklch(27.87% 0.124 299.2)
XYZxyz(3.4384, 1.8297, 10.0675)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33105B #385B10
analogous
#10125B #33105B #58105B
triadic
#33105B #5B3310 #105B33
tetradic
#33105B #5B1012 #385B10 #105B58
square
#33105B #5B1012 #385B10 #105B58
split-complementary
#33105B #5B5810 #125B10
monochromatic
#0F051A #160727 #33105B #50198F #6D22C3

Accessibility & contrast

On white

15.37
#33105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#33105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33105B
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33105B#FFFFFF#000000##FFFFFF
##33105B1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33105b;
/* rgb */ color: rgb(51, 16, 91);
/* oklch */ color: oklch(27.9% 0.124 299.2);
Tailwind
colors: {
  custom: {
    50: '#6f538a',
    500: '#33105b',
    950: '#000000',
  },
}
SCSS
$custom: #33105b;
$custom-light: #6f538a;
$custom-dark: #000000;
JSON
{
  "hex": "#33105b",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 268,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27874,
    "c": 0.12365,
    "h": 299.2
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#33105B
secondary
#679433
accent
#ED3B9A
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #33105B

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

Preview Lab → · Contrast checker → · Palette generator →

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