#36124B#36124B

#36124B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.103 H 310.2°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#36124B
RGBrgb(54, 18, 75)
HSLhsl(278, 61%, 18%)
HSVhsv(278, 76%, 29%)
CMYKcmyk(28%, 76%, 0%, 70.6%)
CIE-LABlab(13.97, 28.96, -27.79)
CIE-LCHlch(13.97, 40.13, 316.18°)
OKLaboklab(27.11% 0.0665 -0.0786)
OKLCHoklch(27.11% 0.103 310.2)
XYZxyz(3.0074, 1.7249, 6.8298)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36124B #274B12
analogous
#19124B #36124B #4B1243
triadic
#36124B #4B3612 #124B36
tetradic
#36124B #4B1912 #274B12 #12434B
square
#36124B #4B1912 #274B12 #12434B
split-complementary
#36124B #434B12 #124B19
monochromatic
#120619 #12061A #36124B #5A1E7C #7D2AAE

Accessibility & contrast

On white

15.61
#36124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36124B
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36124B#FFFFFF#000000##FFFFFF
##36124B1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#09244A
Tritanopia (blue-blind)
#331E2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #36124b;
/* rgb */ color: rgb(54, 18, 75);
/* oklch */ color: oklch(27.1% 0.103 310.2);
Tailwind
colors: {
  custom: {
    50: '#70537e',
    500: '#36124b',
    950: '#000000',
  },
}
SCSS
$custom: #36124b;
$custom-light: #70537e;
$custom-dark: #000000;
JSON
{
  "hex": "#36124b",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 277.895,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27112,
    "c": 0.10291,
    "h": 310.2
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#36124B
secondary
#528435
accent
#E4437F
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #36124B

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

Preview Lab → · Contrast checker → · Palette generator →

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