#36156E#36156E

#36156E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.141 H 293.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#36156E
RGBrgb(54, 21, 110)
HSLhsl(262, 68%, 26%)
HSVhsv(262, 81%, 43%)
CMYKcmyk(50.9%, 80.9%, 0%, 56.9%)
CIE-LABlab(17.67, 37.11, -45.19)
CIE-LCHlch(17.67, 58.47, 309.39°)
OKLaboklab(30.71% 0.055 -0.1297)
OKLCHoklch(30.71% 0.141 293)
XYZxyz(4.6032, 2.4462, 14.9785)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36156E #4D6E15
analogous
#15206E #36156E #62156E
triadic
#36156E #6E3615 #156E36
tetradic
#36156E #6E1520 #4D6E15 #156E62
square
#36156E #6E1520 #4D6E15 #156E62
split-complementary
#36156E #6E6215 #206E15
monochromatic
#0D051A #1D0B3B #36156E #4F1FA1 #6829D5

Accessibility & contrast

On white

14.10
#36156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#36156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36156E
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36156E#FFFFFF#000000##FFFFFF
##36156E1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#242E41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #36156e;
/* rgb */ color: rgb(54, 21, 110);
/* oklch */ color: oklch(30.7% 0.141 293.0);
Tailwind
colors: {
  custom: {
    50: '#745798',
    500: '#36156e',
    950: '#000000',
  },
}
SCSS
$custom: #36156e;
$custom-light: #745798;
$custom-dark: #000000;
JSON
{
  "hex": "#36156e",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 262.247,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3071,
    "c": 0.14088,
    "h": 293
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#36156E
secondary
#7DA43A
accent
#EB3DAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #36156E

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

Preview Lab → · Contrast checker → · Palette generator →

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