#36124C#36124C

#36124C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.104 H 309.6°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#36124C
RGBrgb(54, 18, 76)
HSLhsl(277, 62%, 18%)
HSVhsv(277, 76%, 30%)
CMYKcmyk(28.9%, 76.3%, 0%, 70.2%)
CIE-LABlab(14.05, 29.21, -28.35)
CIE-LCHlch(14.05, 40.71, 315.86°)
OKLaboklab(27.19% 0.0663 -0.0802)
OKLCHoklch(27.19% 0.104 309.6)
XYZxyz(3.0419, 1.7387, 7.0114)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36124C #284C12
analogous
#19124C #36124C #4C1245
triadic
#36124C #4C3612 #124C36
tetradic
#36124C #4C1912 #284C12 #12454C
square
#36124C #4C1912 #284C12 #12454C
split-complementary
#36124C #454C12 #124C19
monochromatic
#120619 #13061B #36124C #591E7D #7C29AF

Accessibility & contrast

On white

15.58
#36124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#36124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36124C
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36124C#FFFFFF#000000##FFFFFF
##36124C1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#08244B
Tritanopia (blue-blind)
#331F2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #36124c;
/* rgb */ color: rgb(54, 18, 76);
/* oklch */ color: oklch(27.2% 0.104 309.6);
Tailwind
colors: {
  custom: {
    50: '#70537e',
    500: '#36124c',
    950: '#000000',
  },
}
SCSS
$custom: #36124c;
$custom-light: #70537e;
$custom-dark: #000000;
JSON
{
  "hex": "#36124c",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 277.241,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27194,
    "c": 0.10409,
    "h": 309.6
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#36124C
secondary
#538535
accent
#E54380
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #36124C

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

Preview Lab → · Contrast checker → · Palette generator →

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