#360F51#360F51

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

Color values

HEX#360F51
RGBrgb(54, 15, 81)
HSLhsl(275, 69%, 19%)
HSVhsv(275, 81%, 32%)
CMYKcmyk(33.3%, 81.5%, 0%, 68.2%)
CIE-LABlab(13.94, 32.00, -31.96)
CIE-LCHlch(13.94, 45.22, 315.04°)
OKLaboklab(27.25% 0.0689 -0.0908)
OKLCHoklch(27.25% 0.114 307.2)
XYZxyz(3.1770, 1.7200, 7.9476)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360F51 #2A510F
analogous
#150F51 #360F51 #510F4B
triadic
#360F51 #51360F #0F5136
tetradic
#360F51 #51150F #2A510F #0F4B51
square
#360F51 #51150F #2A510F #0F4B51
split-complementary
#360F51 #4B510F #0F5115
monochromatic
#11051A #14051D #360F51 #581985 #7B22B8

Accessibility & contrast

On white

15.62
#360F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#360F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #360F51
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360F51#FFFFFF#000000##FFFFFF
##360F511.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#002450
Tritanopia (blue-blind)
#311F2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #360f51;
/* rgb */ color: rgb(54, 15, 81);
/* oklch */ color: oklch(27.2% 0.114 307.2);
Tailwind
colors: {
  custom: {
    50: '#705282',
    500: '#360f51',
    950: '#000000',
  },
}
SCSS
$custom: #360f51;
$custom-light: #705282;
$custom-dark: #000000;
JSON
{
  "hex": "#360f51",
  "rgb": {
    "r": 54,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 275.455,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27249,
    "c": 0.11399,
    "h": 307.2
  },
  "luminance": 0.0172
}

Semantic roles & 50–950 ramp

primary
#360F51
secondary
#568B31
accent
#EC3C84
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #360F51

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

Preview Lab → · Contrast checker → · Palette generator →

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