#36186E#36186E

#36186E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.138 H 292.4°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#36186E
RGBrgb(54, 24, 110)
HSLhsl(261, 64%, 26%)
HSVhsv(261, 78%, 43%)
CMYKcmyk(50.9%, 78.2%, 0%, 56.9%)
CIE-LABlab(18.20, 35.60, -44.32)
CIE-LCHlch(18.20, 56.85, 308.77°)
OKLaboklab(31.08% 0.0524 -0.1272)
OKLCHoklch(31.08% 0.138 292.4)
XYZxyz(4.6616, 2.5632, 14.9979)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36186E #506E18
analogous
#18256E #36186E #61186E
triadic
#36186E #6E3618 #186E36
tetradic
#36186E #6E1825 #506E18 #186E61
square
#36186E #6E1825 #506E18 #186E61
split-complementary
#36186E #6E6118 #256E18
monochromatic
#0C0519 #1D0D3C #36186E #4F23A0 #682FD2

Accessibility & contrast

On white

13.88
#36186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#36186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36186E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36186E#FFFFFF#000000##FFFFFF
##36186E1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#242F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #36186e;
/* rgb */ color: rgb(54, 24, 110);
/* oklch */ color: oklch(31.1% 0.138 292.4);
Tailwind
colors: {
  custom: {
    50: '#745898',
    500: '#36186e',
    950: '#000000',
  },
}
SCSS
$custom: #36186e;
$custom-light: #745898;
$custom-dark: #000000;
JSON
{
  "hex": "#36186e",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 260.93,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3108,
    "c": 0.13753,
    "h": 292.4
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#36186E
secondary
#80A43E
accent
#E741AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #36186E

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

Preview Lab → · Contrast checker → · Palette generator →

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