#36165F#36165F

#36165F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.122 H 298.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#36165F
RGBrgb(54, 22, 95)
HSLhsl(266, 62%, 23%)
HSVhsv(266, 77%, 37%)
CMYKcmyk(43.2%, 76.8%, 0%, 62.7%)
CIE-LABlab(16.43, 32.29, -37.36)
CIE-LCHlch(16.43, 49.38, 310.84°)
OKLaboklab(29.39% 0.0582 -0.1067)
OKLCHoklch(29.39% 0.122 298.6)
XYZxyz(3.8733, 2.1843, 11.0418)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36165F #3F5F16
analogous
#161B5F #36165F #5A165F
triadic
#36165F #5F3616 #165F36
tetradic
#36165F #5F161B #3F5F16 #165F5A
square
#36165F #5F161B #3F5F16 #165F5A
split-complementary
#36165F #5F5A16 #1B5F16
monochromatic
#0E0619 #1A0A2D #36165F #522291 #6E2DC2

Accessibility & contrast

On white

14.62
#36165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36165F
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36165F#FFFFFF#000000##FFFFFF
##36165F1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36165f;
/* rgb */ color: rgb(54, 22, 95);
/* oklch */ color: oklch(29.4% 0.122 298.6);
Tailwind
colors: {
  custom: {
    50: '#72568d',
    500: '#36165f',
    950: '#000000',
  },
}
SCSS
$custom: #36165f;
$custom-light: #72568d;
$custom-dark: #000000;
JSON
{
  "hex": "#36165f",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 266.301,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29393,
    "c": 0.12153,
    "h": 298.6
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#36165F
secondary
#6E963B
accent
#E5429E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36165F

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

Preview Lab → · Contrast checker → · Palette generator →

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