#36104C#36104C

#36104C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.107 H 310.0°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#36104C
RGBrgb(54, 16, 76)
HSLhsl(278, 65%, 18%)
HSVhsv(278, 79%, 30%)
CMYKcmyk(28.9%, 78.9%, 0%, 70.2%)
CIE-LABlab(13.69, 30.23, -28.93)
CIE-LCHlch(13.69, 41.85, 316.26°)
OKLaboklab(26.94% 0.0688 -0.0819)
OKLCHoklch(26.94% 0.107 310)
XYZxyz(3.0109, 1.6767, 7.0011)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36104C #264C10
analogous
#18104C #36104C #4C1044
triadic
#36104C #4C3610 #104C36
tetradic
#36104C #4C1810 #264C10 #10444C
square
#36104C #4C1810 #264C10 #10444C
split-complementary
#36104C #444C10 #104C18
monochromatic
#120519 #120519 #36104C #5A1B7F #7E25B1

Accessibility & contrast

On white

15.73
#36104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#36104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36104C
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36104C#FFFFFF#000000##FFFFFF
##36104C1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#05244B
Tritanopia (blue-blind)
#331D2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #36104c;
/* rgb */ color: rgb(54, 16, 76);
/* oklch */ color: oklch(26.9% 0.107 310.0);
Tailwind
colors: {
  custom: {
    50: '#70527e',
    500: '#36104c',
    950: '#000000',
  },
}
SCSS
$custom: #36104c;
$custom-light: #70527e;
$custom-dark: #000000;
JSON
{
  "hex": "#36104c",
  "rgb": {
    "r": 54,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 278,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26936,
    "c": 0.10696,
    "h": 310
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#36104C
secondary
#518632
accent
#E8407D
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #36104C

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

Preview Lab → · Contrast checker → · Palette generator →

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