#33105F#33105F

#33105F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.128 H 297.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#33105F
RGBrgb(51, 16, 95)
HSLhsl(267, 71%, 22%)
HSVhsv(267, 83%, 37%)
CMYKcmyk(46.3%, 83.2%, 0%, 62.7%)
CIE-LABlab(14.96, 34.72, -39.78)
CIE-LCHlch(14.96, 52.80, 311.12°)
OKLaboklab(28.27% 0.0591 -0.1139)
OKLCHoklch(28.27% 0.128 297.4)
XYZxyz(3.6155, 1.9005, 11.0006)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33105F #3C5F10
analogous
#10155F #33105F #5B105F
triadic
#33105F #5F3310 #105F33
tetradic
#33105F #5F1015 #3C5F10 #105F5B
square
#33105F #5F1015 #3C5F10 #105F5B
split-complementary
#33105F #5F5B10 #155F10
monochromatic
#0E041A #17072B #33105F #4F1993 #6B22C8

Accessibility & contrast

On white

15.22
#33105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#33105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33105F
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33105F#FFFFFF#000000##FFFFFF
##33105F1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #33105f;
/* rgb */ color: rgb(51, 16, 95);
/* oklch */ color: oklch(28.3% 0.128 297.4);
Tailwind
colors: {
  custom: {
    50: '#70538d',
    500: '#33105f',
    950: '#000000',
  },
}
SCSS
$custom: #33105f;
$custom-light: #70538d;
$custom-dark: #000000;
JSON
{
  "hex": "#33105f",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 266.582,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28266,
    "c": 0.12833,
    "h": 297.4
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#33105F
secondary
#6B9833
accent
#EE3A9E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #33105F

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

Preview Lab → · Contrast checker → · Palette generator →

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