#36115F#36115F

#36115F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.128 H 299.7°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#36115F
RGBrgb(54, 17, 95)
HSLhsl(268, 70%, 22%)
HSVhsv(268, 82%, 37%)
CMYKcmyk(43.2%, 82.1%, 0%, 62.7%)
CIE-LABlab(15.55, 34.80, -38.79)
CIE-LCHlch(15.55, 52.11, 311.89°)
OKLaboklab(28.77% 0.0632 -0.1109)
OKLCHoklch(28.77% 0.128 299.7)
XYZxyz(3.7868, 2.0113, 11.0130)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36115F #3A5F11
analogous
#11135F #36115F #5D115F
triadic
#36115F #5F3611 #115F36
tetradic
#36115F #5F1113 #3A5F11 #115F5D
square
#36115F #5F1113 #3A5F11 #115F5D
split-complementary
#36115F #5F5D11 #135F11
monochromatic
#0F051A #18082B #36115F #541A93 #7124C7

Accessibility & contrast

On white

14.98
#36115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36115F
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36115F#FFFFFF#000000##FFFFFF
##36115F1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36115f;
/* rgb */ color: rgb(54, 17, 95);
/* oklch */ color: oklch(28.8% 0.128 299.7);
Tailwind
colors: {
  custom: {
    50: '#72548d',
    500: '#36115f',
    950: '#000000',
  },
}
SCSS
$custom: #36115f;
$custom-light: #72548d;
$custom-dark: #000000;
JSON
{
  "hex": "#36115f",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 268.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28773,
    "c": 0.12765,
    "h": 299.7
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#36115F
secondary
#689834
accent
#EC3B98
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36115F

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

Preview Lab → · Contrast checker → · Palette generator →

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