#36155C#36155C

#36155C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.119 H 300.2°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#36155C
RGBrgb(54, 21, 92)
HSLhsl(268, 63%, 22%)
HSVhsv(268, 77%, 36%)
CMYKcmyk(41.3%, 77.2%, 0%, 63.9%)
CIE-LABlab(15.97, 31.97, -36.10)
CIE-LCHlch(15.97, 48.22, 311.53°)
OKLaboklab(28.99% 0.0599 -0.103)
OKLCHoklch(28.99% 0.119 300.2)
XYZxyz(3.7208, 2.0933, 10.3312)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36155C #3B5C15
analogous
#15185C #36155C #5A155C
triadic
#36155C #5C3615 #155C36
tetradic
#36155C #5C1518 #3B5C15 #155C5A
square
#36155C #5C1518 #3B5C15 #155C5A
split-complementary
#36155C #5C5A15 #185C15
monochromatic
#0F0619 #190A2A #36155C #53208E #702CC0

Accessibility & contrast

On white

14.80
#36155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#36155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36155C
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36155C#FFFFFF#000000##FFFFFF
##36155C1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#2D2737
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36155c;
/* rgb */ color: rgb(54, 21, 92);
/* oklch */ color: oklch(29.0% 0.119 300.2);
Tailwind
colors: {
  custom: {
    50: '#71568b',
    500: '#36155c',
    950: '#000000',
  },
}
SCSS
$custom: #36155c;
$custom-light: #71568b;
$custom-dark: #000000;
JSON
{
  "hex": "#36155c",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 267.887,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28985,
    "c": 0.11917,
    "h": 300.2
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#36155C
secondary
#6A9339
accent
#E6429A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36155C

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

Preview Lab → · Contrast checker → · Palette generator →

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