#33104A#33104A

#33104A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.104 H 308.4°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#33104A
RGBrgb(51, 16, 74)
HSLhsl(276, 64%, 18%)
HSVhsv(276, 78%, 29%)
CMYKcmyk(31.1%, 78.4%, 0%, 71%)
CIE-LABlab(13.04, 29.00, -28.63)
CIE-LCHlch(13.04, 40.75, 315.37°)
OKLaboklab(26.32% 0.0644 -0.0811)
OKLCHoklch(26.32% 0.104 308.4)
XYZxyz(2.7863, 1.5688, 6.6333)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33104A #274A10
analogous
#16104A #33104A #4A1044
triadic
#33104A #4A3310 #104A33
tetradic
#33104A #4A1610 #274A10 #10444A
square
#33104A #4A1610 #274A10 #10444A
split-complementary
#33104A #444A10 #104A16
monochromatic
#110519 #110519 #33104A #561B7C #7826AF

Accessibility & contrast

On white

15.98
#33104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#33104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33104A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33104A#FFFFFF#000000##FFFFFF
##33104A1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#032249
Tritanopia (blue-blind)
#2F1D2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #33104a;
/* rgb */ color: rgb(51, 16, 74);
/* oklch */ color: oklch(26.3% 0.104 308.4);
Tailwind
colors: {
  custom: {
    50: '#6d527d',
    500: '#33104a',
    950: '#000000',
  },
}
SCSS
$custom: #33104a;
$custom-light: #6d527d;
$custom-dark: #000000;
JSON
{
  "hex": "#33104a",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 276.207,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26319,
    "c": 0.1036,
    "h": 308.4
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#33104A
secondary
#528432
accent
#E74083
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #33104A

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

Preview Lab → · Contrast checker → · Palette generator →

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