#36124D#36124D

#36124D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.105 H 309.0°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#36124D
RGBrgb(54, 18, 77)
HSLhsl(277, 62%, 19%)
HSVhsv(277, 77%, 30%)
CMYKcmyk(29.9%, 76.6%, 0%, 69.8%)
CIE-LABlab(14.13, 29.47, -28.91)
CIE-LCHlch(14.13, 41.28, 315.55°)
OKLaboklab(27.28% 0.0662 -0.0819)
OKLCHoklch(27.28% 0.105 309)
XYZxyz(3.0769, 1.7528, 7.1960)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36124D #294D12
analogous
#18124D #36124D #4D1246
triadic
#36124D #4D3612 #124D36
tetradic
#36124D #4D1812 #294D12 #12464D
square
#36124D #4D1812 #294D12 #12464D
split-complementary
#36124D #464D12 #124D18
monochromatic
#110619 #13061B #36124D #591E7F #7C29B0

Accessibility & contrast

On white

15.55
#36124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36124D
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36124D#FFFFFF#000000##FFFFFF
##36124D1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#06244C
Tritanopia (blue-blind)
#331F2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #36124d;
/* rgb */ color: rgb(54, 18, 77);
/* oklch */ color: oklch(27.3% 0.105 309.0);
Tailwind
colors: {
  custom: {
    50: '#70537f',
    500: '#36124d',
    950: '#000000',
  },
}
SCSS
$custom: #36124d;
$custom-light: #70537f;
$custom-dark: #000000;
JSON
{
  "hex": "#36124d",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 276.61,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27277,
    "c": 0.10527,
    "h": 309
  },
  "luminance": 0.01753
}

Semantic roles & 50–950 ramp

primary
#36124D
secondary
#548635
accent
#E54382
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #36124D

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

Preview Lab → · Contrast checker → · Palette generator →

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