#360B52#360B52

#360B52 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.9% C 0.120 H 307.3°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#360B52
RGBrgb(54, 11, 82)
HSLhsl(276, 76%, 18%)
HSVhsv(276, 87%, 32%)
CMYKcmyk(34.1%, 86.6%, 0%, 67.8%)
CIE-LABlab(13.43, 33.99, -33.48)
CIE-LCHlch(13.43, 47.71, 315.43°)
OKLaboklab(26.92% 0.0726 -0.0952)
OKLCHoklch(26.92% 0.12 307.3)
XYZxyz(3.1637, 1.6329, 8.1295)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360B52 #27520B
analogous
#120B52 #360B52 #520B4A
triadic
#360B52 #52360B #0B5236
tetradic
#360B52 #52120B #27520B #0B4A52
square
#360B52 #52120B #27520B #0B4A52
split-complementary
#360B52 #4A520B #0B5212
monochromatic
#12041B #12041C #360B52 #5A1288 #7D19BE

Accessibility & contrast

On white

15.83
#360B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#360B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #360B52
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360B52#FFFFFF#000000##FFFFFF
##360B521.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#311E2F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #360b52;
/* rgb */ color: rgb(54, 11, 82);
/* oklch */ color: oklch(26.9% 0.120 307.3);
Tailwind
colors: {
  custom: {
    50: '#715083',
    500: '#360b52',
    950: '#000000',
  },
}
SCSS
$custom: #360b52;
$custom-light: #715083;
$custom-dark: #000000;
JSON
{
  "hex": "#360b52",
  "rgb": {
    "r": 54,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 276.338,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26916,
    "c": 0.11975,
    "h": 307.3
  },
  "luminance": 0.01633
}

Semantic roles & 50–950 ramp

primary
#360B52
secondary
#528E2B
accent
#F33580
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #360B52

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

Preview Lab → · Contrast checker → · Palette generator →

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