#36124A#36124A

#36124A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.102 H 310.9°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#36124A
RGBrgb(54, 18, 74)
HSLhsl(279, 61%, 18%)
HSVhsv(279, 76%, 29%)
CMYKcmyk(27%, 75.7%, 0%, 71%)
CIE-LABlab(13.89, 28.70, -27.23)
CIE-LCHlch(13.89, 39.56, 316.51°)
OKLaboklab(27.03% 0.0666 -0.0769)
OKLCHoklch(27.03% 0.102 310.9)
XYZxyz(2.9734, 1.7114, 6.6509)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36124A #264A12
analogous
#1A124A #36124A #4A1242
triadic
#36124A #4A3612 #124A36
tetradic
#36124A #4A1A12 #264A12 #12424A
square
#36124A #4A1A12 #264A12 #12424A
split-complementary
#36124A #424A12 #124A1A
monochromatic
#120619 #120619 #36124A #5A1E7B #7E2AAC

Accessibility & contrast

On white

15.65
#36124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#36124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36124A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36124A#FFFFFF#000000##FFFFFF
##36124A1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#0A2449
Tritanopia (blue-blind)
#331E2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #36124a;
/* rgb */ color: rgb(54, 18, 74);
/* oklch */ color: oklch(27.0% 0.102 310.9);
Tailwind
colors: {
  custom: {
    50: '#70537d',
    500: '#36124a',
    950: '#000000',
  },
}
SCSS
$custom: #36124a;
$custom-light: #70537d;
$custom-dark: #000000;
JSON
{
  "hex": "#36124a",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 278.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2703,
    "c": 0.10173,
    "h": 310.9
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#36124A
secondary
#518335
accent
#E4447D
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #36124A

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

Preview Lab → · Contrast checker → · Palette generator →

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