#36104A#36104A

#36104A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.105 H 311.3°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#36104A
RGBrgb(54, 16, 74)
HSLhsl(279, 64%, 18%)
HSVhsv(279, 78%, 29%)
CMYKcmyk(27%, 78.4%, 0%, 71%)
CIE-LABlab(13.53, 29.72, -27.82)
CIE-LCHlch(13.53, 40.71, 316.90°)
OKLaboklab(26.77% 0.0691 -0.0786)
OKLCHoklch(26.77% 0.105 311.3)
XYZxyz(2.9424, 1.6493, 6.6406)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36104A #244A10
analogous
#19104A #36104A #4A1041
triadic
#36104A #4A3610 #104A36
tetradic
#36104A #4A1910 #244A10 #10414A
square
#36104A #4A1910 #244A10 #10414A
split-complementary
#36104A #414A10 #104A19
monochromatic
#120519 #120519 #36104A #5B1B7C #7F26AF

Accessibility & contrast

On white

15.79
#36104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#36104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36104A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36104A#FFFFFF#000000##FFFFFF
##36104A1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#082349
Tritanopia (blue-blind)
#331D2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #36104a;
/* rgb */ color: rgb(54, 16, 74);
/* oklch */ color: oklch(26.8% 0.105 311.3);
Tailwind
colors: {
  custom: {
    50: '#70527d',
    500: '#36104a',
    950: '#000000',
  },
}
SCSS
$custom: #36104a;
$custom-light: #70527d;
$custom-dark: #000000;
JSON
{
  "hex": "#36104a",
  "rgb": {
    "r": 54,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 279.31,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26769,
    "c": 0.10466,
    "h": 311.3
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#36104A
secondary
#4E8432
accent
#E7407A
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #36104A

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

Preview Lab → · Contrast checker → · Palette generator →

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