#360F56#360F56

#360F56 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.120 H 304.5°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#360F56
RGBrgb(54, 15, 86)
HSLhsl(273, 70%, 20%)
HSVhsv(273, 83%, 34%)
CMYKcmyk(37.2%, 82.6%, 0%, 66.3%)
CIE-LABlab(14.39, 33.30, -34.64)
CIE-LCHlch(14.39, 48.05, 313.87°)
OKLaboklab(27.7% 0.0677 -0.0987)
OKLCHoklch(27.7% 0.12 304.5)
XYZxyz(3.3715, 1.7978, 8.9717)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360F56 #2F560F
analogous
#130F56 #360F56 #560F53
triadic
#360F56 #56360F #0F5636
tetradic
#360F56 #56130F #2F560F #0F5356
square
#360F56 #56130F #2F560F #0F5356
split-complementary
#360F56 #53560F #0F5613
monochromatic
#10051A #150622 #360F56 #57188A #7721BE

Accessibility & contrast

On white

15.45
#360F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #360F56
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360F56#FFFFFF#000000##FFFFFF
##360F561.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#302132
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #360f56;
/* rgb */ color: rgb(54, 15, 86);
/* oklch */ color: oklch(27.7% 0.120 304.5);
Tailwind
colors: {
  custom: {
    50: '#715286',
    500: '#360f56',
    950: '#000000',
  },
}
SCSS
$custom: #360f56;
$custom-light: #715286;
$custom-dark: #000000;
JSON
{
  "hex": "#360f56",
  "rgb": {
    "r": 54,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 272.958,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27701,
    "c": 0.11966,
    "h": 304.5
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#360F56
secondary
#5C9031
accent
#ED3B8B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #360F56

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

Preview Lab → · Contrast checker → · Palette generator →

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