#33104D#33104D

#33104D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.107 H 306.6°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#33104D
RGBrgb(51, 16, 77)
HSLhsl(274, 66%, 18%)
HSVhsv(274, 79%, 30%)
CMYKcmyk(33.8%, 79.2%, 0%, 69.8%)
CIE-LABlab(13.29, 29.80, -30.29)
CIE-LCHlch(13.29, 42.49, 314.53°)
OKLaboklab(26.58% 0.0639 -0.086)
OKLCHoklch(26.58% 0.107 306.6)
XYZxyz(2.8898, 1.6102, 7.1783)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33104D #2A4D10
analogous
#14104D #33104D #4D1048
triadic
#33104D #4D3310 #104D33
tetradic
#33104D #4D1410 #2A4D10 #10484D
square
#33104D #4D1410 #2A4D10 #10484D
split-complementary
#33104D #484D10 #104D14
monochromatic
#110519 #11051A #33104D #551B80 #7625B2

Accessibility & contrast

On white

15.89
#33104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33104D
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33104D#FFFFFF#000000##FFFFFF
##33104D1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#2F1E2D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #33104d;
/* rgb */ color: rgb(51, 16, 77);
/* oklch */ color: oklch(26.6% 0.107 306.6);
Tailwind
colors: {
  custom: {
    50: '#6e527f',
    500: '#33104d',
    950: '#000000',
  },
}
SCSS
$custom: #33104d;
$custom-light: #6e527f;
$custom-dark: #000000;
JSON
{
  "hex": "#33104d",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 274.426,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26579,
    "c": 0.10715,
    "h": 306.6
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#33104D
secondary
#568732
accent
#E93F87
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33104D

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

Preview Lab → · Contrast checker → · Palette generator →

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