#33104C#33104C

#33104C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.106 H 307.2°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#33104C
RGBrgb(51, 16, 76)
HSLhsl(275, 65%, 18%)
HSVhsv(275, 79%, 30%)
CMYKcmyk(32.9%, 78.9%, 0%, 70.2%)
CIE-LABlab(13.21, 29.53, -29.74)
CIE-LCHlch(13.21, 41.91, 314.80°)
OKLaboklab(26.49% 0.0641 -0.0844)
OKLCHoklch(26.49% 0.106 307.2)
XYZxyz(2.8548, 1.5962, 6.9938)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33104C #294C10
analogous
#15104C #33104C #4C1047
triadic
#33104C #4C3310 #104C33
tetradic
#33104C #4C1510 #294C10 #10474C
square
#33104C #4C1510 #294C10 #10474C
split-complementary
#33104C #474C10 #104C15
monochromatic
#110519 #110519 #33104C #551B7F #7725B1

Accessibility & contrast

On white

15.92
#33104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33104C
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33104C#FFFFFF#000000##FFFFFF
##33104C1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#2F1E2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #33104c;
/* rgb */ color: rgb(51, 16, 76);
/* oklch */ color: oklch(26.5% 0.106 307.2);
Tailwind
colors: {
  custom: {
    50: '#6e527e',
    500: '#33104c',
    950: '#000000',
  },
}
SCSS
$custom: #33104c;
$custom-light: #6e527e;
$custom-dark: #000000;
JSON
{
  "hex": "#33104c",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 275,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26491,
    "c": 0.10596,
    "h": 307.2
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#33104C
secondary
#558632
accent
#E84086
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33104C

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

Preview Lab → · Contrast checker → · Palette generator →

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