#36156C#36156C

#36156C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.138 H 293.7°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#36156C
RGBrgb(54, 21, 108)
HSLhsl(263, 67%, 25%)
HSVhsv(263, 81%, 42%)
CMYKcmyk(50%, 80.6%, 0%, 57.6%)
CIE-LABlab(17.48, 36.53, -44.21)
CIE-LCHlch(17.48, 57.35, 309.57°)
OKLaboklab(30.51% 0.0557 -0.1268)
OKLCHoklch(30.51% 0.138 293.7)
XYZxyz(4.4955, 2.4032, 14.4114)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36156C #4B6C15
analogous
#151F6C #36156C #62156C
triadic
#36156C #6C3615 #156C36
tetradic
#36156C #6C151F #4B6C15 #156C62
square
#36156C #6C151F #4B6C15 #156C62
split-complementary
#36156C #6C6215 #1F6C15
monochromatic
#0D051A #1C0B39 #36156C #501F9F #6929D2

Accessibility & contrast

On white

14.18
#36156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#36156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36156C
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36156C#FFFFFF#000000##FFFFFF
##36156C1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#252D40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #36156c;
/* rgb */ color: rgb(54, 21, 108);
/* oklch */ color: oklch(30.5% 0.138 293.7);
Tailwind
colors: {
  custom: {
    50: '#745797',
    500: '#36156c',
    950: '#000000',
  },
}
SCSS
$custom: #36156c;
$custom-light: #745797;
$custom-dark: #000000;
JSON
{
  "hex": "#36156c",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 262.759,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3051,
    "c": 0.13849,
    "h": 293.7
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#36156C
secondary
#7BA33A
accent
#EA3DA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #36156C

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

Preview Lab → · Contrast checker → · Palette generator →

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