#36185C#36185C

#36185C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.115 H 299.4°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#36185C
RGBrgb(54, 24, 92)
HSLhsl(266, 59%, 23%)
HSVhsv(266, 74%, 36%)
CMYKcmyk(41.3%, 73.9%, 0%, 63.9%)
CIE-LABlab(16.55, 30.34, -35.15)
CIE-LCHlch(16.55, 46.43, 310.80°)
OKLaboklab(29.4% 0.0565 -0.1002)
OKLCHoklch(29.4% 0.115 299.4)
XYZxyz(3.7792, 2.2102, 10.3506)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36185C #3E5C18
analogous
#181C5C #36185C #58185C
triadic
#36185C #5C3618 #185C36
tetradic
#36185C #5C181C #3E5C18 #185C58
square
#36185C #5C181C #3E5C18 #185C58
split-complementary
#36185C #5C5818 #1C5C18
monochromatic
#0E0618 #1A0B2B #36185C #52258D #6F31BD

Accessibility & contrast

On white

14.56
#36185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#36185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36185C
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36185C#FFFFFF#000000##FFFFFF
##36185C1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2D2838
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #36185c;
/* rgb */ color: rgb(54, 24, 92);
/* oklch */ color: oklch(29.4% 0.115 299.4);
Tailwind
colors: {
  custom: {
    50: '#71578b',
    500: '#36185c',
    950: '#000000',
  },
}
SCSS
$custom: #36185c;
$custom-light: #71578b;
$custom-dark: #000000;
JSON
{
  "hex": "#36185c",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 266.471,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29401,
    "c": 0.11506,
    "h": 299.4
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#36185C
secondary
#6D933D
accent
#E2469D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36185C

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

Preview Lab → · Contrast checker → · Palette generator →

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