#36115A#36115A

#36115A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.122 H 302.0°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#36115A
RGBrgb(54, 17, 90)
HSLhsl(270, 68%, 21%)
HSVhsv(270, 81%, 35%)
CMYKcmyk(40%, 81.1%, 0%, 64.7%)
CIE-LABlab(15.08, 33.43, -36.21)
CIE-LCHlch(15.08, 49.28, 312.72°)
OKLaboklab(28.3% 0.0646 -0.1033)
OKLCHoklch(28.3% 0.122 302)
XYZxyz(3.5668, 1.9233, 9.8542)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36115A #355A11
analogous
#11115A #36115A #5A1159
triadic
#36115A #5A3611 #115A36
tetradic
#36115A #5A1111 #355A11 #11595A
square
#36115A #5A1111 #355A11 #11595A
split-complementary
#36115A #595A11 #115A11
monochromatic
#0F051A #170727 #36115A #551B8D #7424C1

Accessibility & contrast

On white

15.17
#36115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#36115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36115A
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36115A#FFFFFF#000000##FFFFFF
##36115A1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#2E2435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #36115a;
/* rgb */ color: rgb(54, 17, 90);
/* oklch */ color: oklch(28.3% 0.122 302.0);
Tailwind
colors: {
  custom: {
    50: '#715389',
    500: '#36115a',
    950: '#000000',
  },
}
SCSS
$custom: #36115a;
$custom-light: #715389;
$custom-dark: #000000;
JSON
{
  "hex": "#36115a",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 270.411,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28301,
    "c": 0.12186,
    "h": 302
  },
  "luminance": 0.01923
}

Semantic roles & 50–950 ramp

primary
#36115A
secondary
#639334
accent
#EB3D93
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36115A

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

Preview Lab → · Contrast checker → · Palette generator →

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