#36155B#36155B

#36155B is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.118 H 300.6°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#36155B
RGBrgb(54, 21, 91)
HSLhsl(268, 63%, 22%)
HSVhsv(268, 77%, 36%)
CMYKcmyk(40.7%, 76.9%, 0%, 64.3%)
CIE-LABlab(15.88, 31.69, -35.58)
CIE-LCHlch(15.88, 47.65, 311.70°)
OKLaboklab(28.9% 0.0601 -0.1015)
OKLCHoklch(28.9% 0.118 300.6)
XYZxyz(3.6774, 2.0759, 10.1025)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36155B #3A5B15
analogous
#15175B #36155B #59155B
triadic
#36155B #5B3615 #155B36
tetradic
#36155B #5B1517 #3A5B15 #155B59
square
#36155B #5B1517 #3A5B15 #155B59
split-complementary
#36155B #5B5915 #175B15
monochromatic
#0F0619 #180A29 #36155B #54208D #712CBE

Accessibility & contrast

On white

14.84
#36155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36155B
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36155B#FFFFFF#000000##FFFFFF
##36155B1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#2E2636
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36155b;
/* rgb */ color: rgb(54, 21, 91);
/* oklch */ color: oklch(28.9% 0.118 300.6);
Tailwind
colors: {
  custom: {
    50: '#71568a',
    500: '#36155b',
    950: '#000000',
  },
}
SCSS
$custom: #36155b;
$custom-light: #71568a;
$custom-dark: #000000;
JSON
{
  "hex": "#36155b",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 268.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28895,
    "c": 0.11794,
    "h": 300.6
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#36155B
secondary
#689239
accent
#E64299
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36155B

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

Preview Lab → · Contrast checker → · Palette generator →

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