#36135C#36135C

#36135C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.122 H 300.6°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#36135C
RGBrgb(54, 19, 92)
HSLhsl(269, 66%, 22%)
HSVhsv(269, 79%, 36%)
CMYKcmyk(41.3%, 79.3%, 0%, 63.9%)
CIE-LABlab(15.61, 33.00, -36.69)
CIE-LCHlch(15.61, 49.35, 311.97°)
OKLaboklab(28.73% 0.0621 -0.1047)
OKLCHoklch(28.73% 0.122 300.6)
XYZxyz(3.6855, 2.0227, 10.3194)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36135C #395C13
analogous
#13155C #36135C #5B135C
triadic
#36135C #5C3613 #135C36
tetradic
#36135C #5C1315 #395C13 #135C5B
square
#36135C #5C1315 #395C13 #135C5B
split-complementary
#36135C #5C5B13 #155C13
monochromatic
#0F0519 #180929 #36135C #541D8F #7228C1

Accessibility & contrast

On white

14.95
#36135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#36135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36135C
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36135C#FFFFFF#000000##FFFFFF
##36135C1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2D2636
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #36135c;
/* rgb */ color: rgb(54, 19, 92);
/* oklch */ color: oklch(28.7% 0.122 300.6);
Tailwind
colors: {
  custom: {
    50: '#71558b',
    500: '#36135c',
    950: '#000000',
  },
}
SCSS
$custom: #36135c;
$custom-light: #71558b;
$custom-dark: #000000;
JSON
{
  "hex": "#36135c",
  "rgb": {
    "r": 54,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 268.767,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28728,
    "c": 0.12174,
    "h": 300.6
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#36135C
secondary
#679437
accent
#E93F97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36135C

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

Preview Lab → · Contrast checker → · Palette generator →

#36135C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva