#33105C#33105C

#33105C is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.125 H 298.8°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#33105C
RGBrgb(51, 16, 92)
HSLhsl(268, 70%, 21%)
HSVhsv(268, 83%, 36%)
CMYKcmyk(44.6%, 82.6%, 0%, 63.9%)
CIE-LABlab(14.66, 33.89, -38.25)
CIE-LCHlch(14.66, 51.10, 311.54°)
OKLaboklab(27.97% 0.0601 -0.1094)
OKLCHoklch(27.97% 0.125 298.8)
XYZxyz(3.4818, 1.8470, 10.2962)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33105C #395C10
analogous
#10135C #33105C #59105C
triadic
#33105C #5C3310 #105C33
tetradic
#33105C #5C1013 #395C10 #105C59
square
#33105C #5C1013 #395C10 #105C59
split-complementary
#33105C #5C5910 #135C10
monochromatic
#0E051A #160728 #33105C #501990 #6D22C4

Accessibility & contrast

On white

15.34
#33105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33105C
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33105C#FFFFFF#000000##FFFFFF
##33105C1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00245B
Tritanopia (blue-blind)
#292436
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #33105c;
/* rgb */ color: rgb(51, 16, 92);
/* oklch */ color: oklch(28.0% 0.125 298.8);
Tailwind
colors: {
  custom: {
    50: '#70538b',
    500: '#33105c',
    950: '#000000',
  },
}
SCSS
$custom: #33105c;
$custom-light: #70538b;
$custom-dark: #000000;
JSON
{
  "hex": "#33105c",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 267.632,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27971,
    "c": 0.12482,
    "h": 298.8
  },
  "luminance": 0.01847
}

Semantic roles & 50–950 ramp

primary
#33105C
secondary
#689533
accent
#ED3B9B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #33105C

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

Preview Lab → · Contrast checker → · Palette generator →

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