#36185D#36185D

#36185D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.116 H 299.0°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#36185D
RGBrgb(54, 24, 93)
HSLhsl(266, 59%, 23%)
HSVhsv(266, 74%, 36%)
CMYKcmyk(41.9%, 74.2%, 0%, 63.5%)
CIE-LABlab(16.64, 30.63, -35.68)
CIE-LCHlch(16.64, 47.02, 310.64°)
OKLaboklab(29.49% 0.0563 -0.1018)
OKLCHoklch(29.49% 0.116 299)
XYZxyz(3.8232, 2.2278, 10.5824)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36185D #3F5D18
analogous
#181C5D #36185D #58185D
triadic
#36185D #5D3618 #185D36
tetradic
#36185D #5D181C #3F5D18 #185D58
square
#36185D #5D181C #3F5D18 #185D58
split-complementary
#36185D #5D5818 #1C5D18
monochromatic
#0E0618 #1A0B2C #36185D #52258E #6E31BE

Accessibility & contrast

On white

14.53
#36185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36185D
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36185D#FFFFFF#000000##FFFFFF
##36185D1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#2D2938
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #36185d;
/* rgb */ color: rgb(54, 24, 93);
/* oklch */ color: oklch(29.5% 0.116 299.0);
Tailwind
colors: {
  custom: {
    50: '#71578b',
    500: '#36185d',
    950: '#000000',
  },
}
SCSS
$custom: #36185d;
$custom-light: #71578b;
$custom-dark: #000000;
JSON
{
  "hex": "#36185d",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 266.087,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2949,
    "c": 0.11633,
    "h": 299
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#36185D
secondary
#6E933D
accent
#E2469E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36185D

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

Preview Lab → · Contrast checker → · Palette generator →

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