#36115E#36115E

#36115E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.126 H 300.1°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#36115E
RGBrgb(54, 17, 94)
HSLhsl(269, 69%, 22%)
HSVhsv(269, 82%, 37%)
CMYKcmyk(42.6%, 81.9%, 0%, 63.1%)
CIE-LABlab(15.45, 34.52, -38.28)
CIE-LCHlch(15.45, 51.55, 312.04°)
OKLaboklab(28.68% 0.0635 -0.1094)
OKLCHoklch(28.68% 0.126 300.1)
XYZxyz(3.7416, 1.9933, 10.7751)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36115E #395E11
analogous
#11135E #36115E #5D115E
triadic
#36115E #5E3611 #115E36
tetradic
#36115E #5E1113 #395E11 #115E5D
square
#36115E #5E1113 #395E11 #115E5D
split-complementary
#36115E #5E5D11 #135E11
monochromatic
#0F051A #18082A #36115E #541A92 #7224C6

Accessibility & contrast

On white

15.02
#36115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#36115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36115E
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36115E#FFFFFF#000000##FFFFFF
##36115E1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#2D2537
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #36115e;
/* rgb */ color: rgb(54, 17, 94);
/* oklch */ color: oklch(28.7% 0.126 300.1);
Tailwind
colors: {
  custom: {
    50: '#72548c',
    500: '#36115e',
    950: '#000000',
  },
}
SCSS
$custom: #36115e;
$custom-light: #72548c;
$custom-dark: #000000;
JSON
{
  "hex": "#36115e",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 268.831,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28677,
    "c": 0.12649,
    "h": 300.1
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#36115E
secondary
#679734
accent
#EC3C97
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36115E

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

Preview Lab → · Contrast checker → · Palette generator →

#36115E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva