#360D42#360D42

#360D42 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.100 H 317.5°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#360D42
RGBrgb(54, 13, 66)
HSLhsl(286, 67%, 15%)
HSVhsv(286, 80%, 26%)
CMYKcmyk(18.2%, 80.3%, 0%, 74.1%)
CIE-LABlab(12.39, 29.22, -24.06)
CIE-LCHlch(12.39, 37.86, 320.53°)
OKLaboklab(25.76% 0.0737 -0.0676)
OKLCHoklch(25.76% 0.1 317.5)
XYZxyz(2.6485, 1.4656, 5.2966)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360D42 #19420D
analogous
#1B0D42 #360D42 #420D33
triadic
#360D42 #42360D #0D4236
tetradic
#360D42 #421B0D #19420D #0D3342
square
#360D42 #421B0D #19420D #0D3342
split-complementary
#360D42 #33420D #0D421B
monochromatic
#15051A #15051A #360D42 #601775 #8A21A8

Accessibility & contrast

On white

16.24
#360D42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#360D42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #360D42
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360D42#FFFFFF#000000##FFFFFF
##360D421.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#0F2241
Tritanopia (blue-blind)
#361826
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #360d42;
/* rgb */ color: rgb(54, 13, 66);
/* oklch */ color: oklch(25.8% 0.100 317.5);
Tailwind
colors: {
  custom: {
    50: '#6f5077',
    500: '#360d42',
    950: '#000000',
  },
}
SCSS
$custom: #360d42;
$custom-light: #6f5077;
$custom-dark: #000000;
JSON
{
  "hex": "#360d42",
  "rgb": {
    "r": 54,
    "g": 13,
    "b": 66
  },
  "hsl": {
    "h": 286.415,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25757,
    "c": 0.10003,
    "h": 317.5
  },
  "luminance": 0.01465
}

Semantic roles & 50–950 ramp

primary
#360D42
secondary
#3F7E2D
accent
#EA3E65
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #360D42

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

Preview Lab → · Contrast checker → · Palette generator →

#360D42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva