#36175D#36175D

#36175D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.118 H 299.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#36175D
RGBrgb(54, 23, 93)
HSLhsl(267, 60%, 23%)
HSVhsv(267, 75%, 36%)
CMYKcmyk(41.9%, 75.3%, 0%, 63.5%)
CIE-LABlab(16.44, 31.18, -36.00)
CIE-LCHlch(16.44, 47.63, 310.90°)
OKLaboklab(29.35% 0.0575 -0.1027)
OKLCHoklch(29.35% 0.118 299.2)
XYZxyz(3.8030, 2.1873, 10.5756)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36175D #3E5D17
analogous
#171B5D #36175D #59175D
triadic
#36175D #5D3617 #175D36
tetradic
#36175D #5D171B #3E5D17 #175D59
square
#36175D #5D171B #3E5D17 #175D59
split-complementary
#36175D #5D5917 #1B5D17
monochromatic
#0E0619 #1A0B2C #36175D #52238E #6F2FBF

Accessibility & contrast

On white

14.61
#36175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#36175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36175D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36175D#FFFFFF#000000##FFFFFF
##36175D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36175d;
/* rgb */ color: rgb(54, 23, 93);
/* oklch */ color: oklch(29.3% 0.118 299.2);
Tailwind
colors: {
  custom: {
    50: '#71578b',
    500: '#36175d',
    950: '#000000',
  },
}
SCSS
$custom: #36175d;
$custom-light: #71578b;
$custom-dark: #000000;
JSON
{
  "hex": "#36175d",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 266.571,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29348,
    "c": 0.11772,
    "h": 299.2
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#36175D
secondary
#6D943C
accent
#E3449D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36175D

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

Preview Lab → · Contrast checker → · Palette generator →

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