#33104B#33104B

#33104B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.105 H 307.8°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#33104B
RGBrgb(51, 16, 75)
HSLhsl(276, 65%, 18%)
HSVhsv(276, 79%, 29%)
CMYKcmyk(32%, 78.7%, 0%, 70.6%)
CIE-LABlab(13.12, 29.27, -29.19)
CIE-LCHlch(13.12, 41.33, 315.08°)
OKLaboklab(26.41% 0.0642 -0.0828)
OKLCHoklch(26.41% 0.105 307.8)
XYZxyz(2.8203, 1.5824, 6.8121)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33104B #284B10
analogous
#15104B #33104B #4B1045
triadic
#33104B #4B3310 #104B33
tetradic
#33104B #4B1510 #284B10 #10454B
square
#33104B #4B1510 #284B10 #10454B
split-complementary
#33104B #454B10 #104B15
monochromatic
#110519 #110519 #33104B #551B7D #7826B0

Accessibility & contrast

On white

15.95
#33104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#33104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33104B
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33104B#FFFFFF#000000##FFFFFF
##33104B1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#02224A
Tritanopia (blue-blind)
#2F1D2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #33104b;
/* rgb */ color: rgb(51, 16, 75);
/* oklch */ color: oklch(26.4% 0.105 307.8);
Tailwind
colors: {
  custom: {
    50: '#6e527e',
    500: '#33104b',
    950: '#000000',
  },
}
SCSS
$custom: #33104b;
$custom-light: #6e527e;
$custom-dark: #000000;
JSON
{
  "hex": "#33104b",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 275.593,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26405,
    "c": 0.10478,
    "h": 307.8
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#33104B
secondary
#548532
accent
#E84084
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33104B

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

Preview Lab → · Contrast checker → · Palette generator →

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