#360C52#360C52

#360C52 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.119 H 307.2°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#360C52
RGBrgb(54, 12, 82)
HSLhsl(276, 74%, 18%)
HSVhsv(276, 85%, 32%)
CMYKcmyk(34.1%, 85.4%, 0%, 67.8%)
CIE-LABlab(13.57, 33.58, -33.25)
CIE-LCHlch(13.57, 47.25, 315.29°)
OKLaboklab(27.01% 0.0717 -0.0946)
OKLCHoklch(27.01% 0.119 307.2)
XYZxyz(3.1755, 1.6565, 8.1334)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360C52 #28520C
analogous
#130C52 #360C52 #520C4B
triadic
#360C52 #52360C #0C5236
tetradic
#360C52 #52130C #28520C #0C4B52
square
#360C52 #52130C #28520C #0C4B52
split-complementary
#360C52 #4B520C #0C5213
monochromatic
#12041B #13041D #360C52 #591487 #7C1CBD

Accessibility & contrast

On white

15.78
#360C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #360C52
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360C52#FFFFFF#000000##FFFFFF
##360C521.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #360c52;
/* rgb */ color: rgb(54, 12, 82);
/* oklch */ color: oklch(27.0% 0.119 307.2);
Tailwind
colors: {
  custom: {
    50: '#715183',
    500: '#360c52',
    950: '#000000',
  },
}
SCSS
$custom: #360c52;
$custom-light: #715183;
$custom-dark: #000000;
JSON
{
  "hex": "#360c52",
  "rgb": {
    "r": 54,
    "g": 12,
    "b": 82
  },
  "hsl": {
    "h": 276,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27014,
    "c": 0.11866,
    "h": 307.2
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#360C52
secondary
#538D2C
accent
#F13781
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #360C52

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

Preview Lab → · Contrast checker → · Palette generator →

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