#36185E#36185E

#36185E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.6% C 0.118 H 298.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#36185E
RGBrgb(54, 24, 94)
HSLhsl(266, 59%, 23%)
HSVhsv(266, 74%, 37%)
CMYKcmyk(42.6%, 74.5%, 0%, 63.1%)
CIE-LABlab(16.73, 30.92, -36.20)
CIE-LCHlch(16.73, 47.61, 310.50°)
OKLaboklab(29.58% 0.0561 -0.1033)
OKLCHoklch(29.58% 0.118 298.5)
XYZxyz(3.8678, 2.2456, 10.8172)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36185E #405E18
analogous
#181D5E #36185E #59185E
triadic
#36185E #5E3618 #185E36
tetradic
#36185E #5E181D #405E18 #185E59
square
#36185E #5E181D #405E18 #185E59
split-complementary
#36185E #5E5918 #1D5E18
monochromatic
#0E0618 #1A0C2D #36185E #52248F #6E31C0

Accessibility & contrast

On white

14.49
#36185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#36185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36185E
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36185E#FFFFFF#000000##FFFFFF
##36185E1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#2C2939
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #36185e;
/* rgb */ color: rgb(54, 24, 94);
/* oklch */ color: oklch(29.6% 0.118 298.5);
Tailwind
colors: {
  custom: {
    50: '#71578c',
    500: '#36185e',
    950: '#000000',
  },
}
SCSS
$custom: #36185e;
$custom-light: #71578c;
$custom-dark: #000000;
JSON
{
  "hex": "#36185e",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 265.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29579,
    "c": 0.1176,
    "h": 298.5
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#36185E
secondary
#6F943D
accent
#E3459F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36185E

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

Preview Lab → · Contrast checker → · Palette generator →

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