#36155F#36155F

#36155F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.123 H 298.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#36155F
RGBrgb(54, 21, 95)
HSLhsl(267, 64%, 23%)
HSVhsv(267, 78%, 37%)
CMYKcmyk(43.2%, 77.9%, 0%, 62.7%)
CIE-LABlab(16.24, 32.82, -37.66)
CIE-LCHlch(16.24, 49.96, 311.07°)
OKLaboklab(29.26% 0.0592 -0.1076)
OKLCHoklch(29.26% 0.123 298.8)
XYZxyz(3.8545, 2.1468, 11.0355)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36155F #3E5F15
analogous
#15195F #36155F #5B155F
triadic
#36155F #5F3615 #155F36
tetradic
#36155F #5F1519 #3E5F15 #155F5B
square
#36155F #5F1519 #3E5F15 #155F5B
split-complementary
#36155F #5F5B15 #195F15
monochromatic
#0E0619 #1A0A2D #36155F #522091 #6F2BC3

Accessibility & contrast

On white

14.69
#36155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#36155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36155F
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36155F#FFFFFF#000000##FFFFFF
##36155F1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#2C2838
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36155f;
/* rgb */ color: rgb(54, 21, 95);
/* oklch */ color: oklch(29.3% 0.123 298.8);
Tailwind
colors: {
  custom: {
    50: '#72568d',
    500: '#36155f',
    950: '#000000',
  },
}
SCSS
$custom: #36155f;
$custom-light: #72568d;
$custom-dark: #000000;
JSON
{
  "hex": "#36155f",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 266.757,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2926,
    "c": 0.12283,
    "h": 298.8
  },
  "luminance": 0.02147
}

Semantic roles & 50–950 ramp

primary
#36155F
secondary
#6D963A
accent
#E7419D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36155F

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

Preview Lab → · Contrast checker → · Palette generator →

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