#36156A#36156A

#36156A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.136 H 294.4°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#36156A
RGBrgb(54, 21, 106)
HSLhsl(263, 67%, 25%)
HSVhsv(263, 80%, 42%)
CMYKcmyk(49.1%, 80.2%, 0%, 58.4%)
CIE-LABlab(17.28, 35.96, -43.22)
CIE-LCHlch(17.28, 56.23, 309.76°)
OKLaboklab(30.31% 0.0563 -0.1239)
OKLCHoklch(30.31% 0.136 294.4)
XYZxyz(4.3903, 2.3611, 13.8573)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36156A #496A15
analogous
#151F6A #36156A #60156A
triadic
#36156A #6A3615 #156A36
tetradic
#36156A #6A151F #496A15 #156A60
square
#36156A #6A151F #496A15 #156A60
split-complementary
#36156A #6A6015 #1F6A15
monochromatic
#0D051A #1C0B37 #36156A #501F9D #6A29D0

Accessibility & contrast

On white

14.26
#36156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#36156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36156A
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36156A#FFFFFF#000000##FFFFFF
##36156A1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#272C3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #36156a;
/* rgb */ color: rgb(54, 21, 106);
/* oklch */ color: oklch(30.3% 0.136 294.4);
Tailwind
colors: {
  custom: {
    50: '#735695',
    500: '#36156a',
    950: '#000000',
  },
}
SCSS
$custom: #36156a;
$custom-light: #735695;
$custom-dark: #000000;
JSON
{
  "hex": "#36156a",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 263.294,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30312,
    "c": 0.13611,
    "h": 294.4
  },
  "luminance": 0.02361
}

Semantic roles & 50–950 ramp

primary
#36156A
secondary
#79A13A
accent
#EA3EA7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #36156A

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

Preview Lab → · Contrast checker → · Palette generator →

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