#36175F#36175F

#36175F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.120 H 298.3°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#36175F
RGBrgb(54, 23, 95)
HSLhsl(266, 61%, 23%)
HSVhsv(266, 76%, 37%)
CMYKcmyk(43.2%, 75.8%, 0%, 62.7%)
CIE-LABlab(16.62, 31.76, -37.05)
CIE-LCHlch(16.62, 48.79, 310.60°)
OKLaboklab(29.53% 0.0571 -0.1058)
OKLCHoklch(29.53% 0.12 298.3)
XYZxyz(3.8927, 2.2232, 11.0483)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36175F #405F17
analogous
#171C5F #36175F #5A175F
triadic
#36175F #5F3617 #175F36
tetradic
#36175F #5F171C #405F17 #175F5A
square
#36175F #5F171C #405F17 #175F5A
split-complementary
#36175F #5F5A17 #1C5F17
monochromatic
#0E0619 #1A0B2E #36175F #522390 #6E2FC2

Accessibility & contrast

On white

14.54
#36175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36175F
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36175F#FFFFFF#000000##FFFFFF
##36175F1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#2C2939
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #36175f;
/* rgb */ color: rgb(54, 23, 95);
/* oklch */ color: oklch(29.5% 0.120 298.3);
Tailwind
colors: {
  custom: {
    50: '#71578d',
    500: '#36175f',
    950: '#000000',
  },
}
SCSS
$custom: #36175f;
$custom-light: #71578d;
$custom-dark: #000000;
JSON
{
  "hex": "#36175f",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 265.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29529,
    "c": 0.12021,
    "h": 298.3
  },
  "luminance": 0.02223
}

Semantic roles & 50–950 ramp

primary
#36175F
secondary
#6F963C
accent
#E4449F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36175F

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

Preview Lab → · Contrast checker → · Palette generator →

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