#360F52#360F52

#360F52 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.3% C 0.115 H 306.6°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#360F52
RGBrgb(54, 15, 82)
HSLhsl(275, 69%, 19%)
HSVhsv(275, 82%, 32%)
CMYKcmyk(34.1%, 81.7%, 0%, 67.8%)
CIE-LABlab(14.03, 32.26, -32.50)
CIE-LCHlch(14.03, 45.79, 314.79°)
OKLaboklab(27.34% 0.0687 -0.0924)
OKLCHoklch(27.34% 0.115 306.6)
XYZxyz(3.2148, 1.7351, 8.1466)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360F52 #2B520F
analogous
#150F52 #360F52 #520F4D
triadic
#360F52 #52360F #0F5236
tetradic
#360F52 #52150F #2B520F #0F4D52
square
#360F52 #52150F #2B520F #0F4D52
split-complementary
#360F52 #4D520F #0F5215
monochromatic
#11051A #14061E #360F52 #581886 #7A22B9

Accessibility & contrast

On white

15.59
#360F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#360F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #360F52
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360F52#FFFFFF#000000##FFFFFF
##360F521.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#311F30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #360f52;
/* rgb */ color: rgb(54, 15, 82);
/* oklch */ color: oklch(27.3% 0.115 306.6);
Tailwind
colors: {
  custom: {
    50: '#715283',
    500: '#360f52',
    950: '#000000',
  },
}
SCSS
$custom: #360f52;
$custom-light: #715283;
$custom-dark: #000000;
JSON
{
  "hex": "#360f52",
  "rgb": {
    "r": 54,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 274.925,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27338,
    "c": 0.11512,
    "h": 306.6
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#360F52
secondary
#578C31
accent
#EC3C85
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #360F52

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

Preview Lab → · Contrast checker → · Palette generator →

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