#360842#360842

#360842 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.107 H 318.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#360842
RGBrgb(54, 8, 66)
HSLhsl(288, 78%, 15%)
HSVhsv(288, 88%, 26%)
CMYKcmyk(18.2%, 87.9%, 0%, 74.1%)
CIE-LABlab(11.63, 31.39, -25.28)
CIE-LCHlch(11.63, 40.31, 321.15°)
OKLaboklab(25.22% 0.0793 -0.0711)
OKLCHoklch(25.22% 0.107 318.1)
XYZxyz(2.5914, 1.3514, 5.2775)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#360842 #144208
analogous
#190842 #360842 #420831
triadic
#360842 #423608 #084236
tetradic
#360842 #421908 #144208 #083142
square
#360842 #421908 #144208 #083142
split-complementary
#360842 #314208 #084219
monochromatic
#16031B #16031B #360842 #630F79 #8F15AF

Accessibility & contrast

On white

16.53
#360842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#360842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #360842
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##360842#FFFFFF#000000##FFFFFF
##3608421.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#0B2041
Tritanopia (blue-blind)
#361525
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #360842;
/* rgb */ color: rgb(54, 8, 66);
/* oklch */ color: oklch(25.2% 0.107 318.1);
Tailwind
colors: {
  custom: {
    50: '#704e77',
    500: '#360842',
    950: '#000000',
  },
}
SCSS
$custom: #360842;
$custom-light: #704e77;
$custom-dark: #000000;
JSON
{
  "hex": "#360842",
  "rgb": {
    "r": 54,
    "g": 8,
    "b": 66
  },
  "hsl": {
    "h": 287.586,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2522,
    "c": 0.10656,
    "h": 318.1
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#360842
secondary
#388025
accent
#F5335B
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #360842

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

Preview Lab → · Contrast checker → · Palette generator →

#360842 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva