#360F57#360F57

#360F57 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.121 H 303.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#360F57
RGBrgb(54, 15, 87)
HSLhsl(273, 71%, 20%)
HSVhsv(273, 83%, 34%)
CMYKcmyk(37.9%, 82.8%, 0%, 65.9%)
CIE-LABlab(14.48, 33.56, -35.17)
CIE-LCHlch(14.48, 48.61, 313.67°)
OKLaboklab(27.79% 0.0674 -0.1002)
OKLCHoklch(27.79% 0.121 303.9)
XYZxyz(3.4120, 1.8140, 9.1854)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360F57 #30570F
analogous
#120F57 #360F57 #570F54
triadic
#360F57 #57360F #0F5736
tetradic
#360F57 #57120F #30570F #0F5457
square
#360F57 #57120F #30570F #0F5457
split-complementary
#360F57 #54570F #0F5712
monochromatic
#10051A #160623 #360F57 #56188B #7721BF

Accessibility & contrast

On white

15.41
#360F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#360F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #360F57
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360F57#FFFFFF#000000##FFFFFF
##360F571.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#2F2232
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #360f57;
/* rgb */ color: rgb(54, 15, 87);
/* oklch */ color: oklch(27.8% 0.121 303.9);
Tailwind
colors: {
  custom: {
    50: '#715287',
    500: '#360f57',
    950: '#000000',
  },
}
SCSS
$custom: #360f57;
$custom-light: #715287;
$custom-dark: #000000;
JSON
{
  "hex": "#360f57",
  "rgb": {
    "r": 54,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 272.5,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.27794,
    "c": 0.12079,
    "h": 303.9
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#360F57
secondary
#5D9131
accent
#ED3A8C
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #360F57

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

Preview Lab → · Contrast checker → · Palette generator →

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