#33104F#33104F

#33104F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.110 H 305.4°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#33104F
RGBrgb(51, 16, 79)
HSLhsl(273, 66%, 19%)
HSVhsv(273, 80%, 31%)
CMYKcmyk(35.4%, 79.7%, 0%, 69%)
CIE-LABlab(13.47, 30.33, -31.39)
CIE-LCHlch(13.47, 43.65, 314.02°)
OKLaboklab(26.76% 0.0635 -0.0892)
OKLCHoklch(26.76% 0.11 305.4)
XYZxyz(2.9615, 1.6389, 7.5559)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33104F #2C4F10
analogous
#13104F #33104F #4F104B
triadic
#33104F #4F3310 #104F33
tetradic
#33104F #4F1310 #2C4F10 #104B4F
square
#33104F #4F1310 #2C4F10 #104B4F
split-complementary
#33104F #4B4F10 #104F13
monochromatic
#100519 #12061C #33104F #541A82 #7525B5

Accessibility & contrast

On white

15.82
#33104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#33104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33104F
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33104F#FFFFFF#000000##FFFFFF
##33104F1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#2E1F2E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #33104f;
/* rgb */ color: rgb(51, 16, 79);
/* oklch */ color: oklch(26.8% 0.110 305.4);
Tailwind
colors: {
  custom: {
    50: '#6e5281',
    500: '#33104f',
    950: '#000000',
  },
}
SCSS
$custom: #33104f;
$custom-light: #6e5281;
$custom-dark: #000000;
JSON
{
  "hex": "#33104f",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 273.333,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26756,
    "c": 0.10951,
    "h": 305.4
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#33104F
secondary
#598932
accent
#E93F8A
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #33104F

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

Preview Lab → · Contrast checker → · Palette generator →

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