#36126A#36126A

#36126A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.139 H 295.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#36126A
RGBrgb(54, 18, 106)
HSLhsl(265, 71%, 24%)
HSVhsv(265, 83%, 42%)
CMYKcmyk(49.1%, 83%, 0%, 58.4%)
CIE-LABlab(16.78, 37.38, -44.04)
CIE-LCHlch(16.78, 57.76, 310.33°)
OKLaboklab(29.97% 0.0588 -0.1263)
OKLCHoklch(29.97% 0.139 295)
XYZxyz(4.3384, 2.2574, 13.8400)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36126A #466A12
analogous
#121A6A #36126A #62126A
triadic
#36126A #6A3612 #126A36
tetradic
#36126A #6A121A #466A12 #126A62
square
#36126A #6A121A #466A12 #126A62
split-complementary
#36126A #6A6212 #1A6A12
monochromatic
#0D041A #1B0936 #36126A #511B9E #6B24D3

Accessibility & contrast

On white

14.47
#36126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#36126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36126A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36126A#FFFFFF#000000##FFFFFF
##36126A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#272B3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #36126a;
/* rgb */ color: rgb(54, 18, 106);
/* oklch */ color: oklch(30.0% 0.139 295.0);
Tailwind
colors: {
  custom: {
    50: '#735595',
    500: '#36126a',
    950: '#000000',
  },
}
SCSS
$custom: #36126a;
$custom-light: #735595;
$custom-dark: #000000;
JSON
{
  "hex": "#36126a",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 264.545,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29967,
    "c": 0.13932,
    "h": 295
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#36126A
secondary
#76A236
accent
#EE3AA4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #36126A

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

Preview Lab → · Contrast checker → · Palette generator →

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