#361885#361885

#361885 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.165 H 285.9°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#361885
RGBrgb(54, 24, 133)
HSLhsl(257, 69%, 31%)
HSVhsv(257, 82%, 52%)
CMYKcmyk(59.4%, 82%, 0%, 47.8%)
CIE-LABlab(20.56, 42.39, -55.15)
CIE-LCHlch(20.56, 69.56, 307.54°)
OKLaboklab(33.44% 0.0452 -0.1589)
OKLCHoklch(33.44% 0.165 285.9)
XYZxyz(6.0803, 3.1306, 22.4696)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361885 #678518
analogous
#183085 #361885 #6C1885
triadic
#361885 #853618 #188536
tetradic
#361885 #851830 #678518 #18856C
square
#361885 #851830 #678518 #18856C
split-complementary
#361885 #856C18 #308518
monochromatic
#0C051D #210F51 #361885 #4B21B9 #683CDC

Accessibility & contrast

On white

12.91
#361885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361885
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361885#FFFFFF#000000##FFFFFF
##3618851.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#0C394F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361885;
/* rgb */ color: rgb(54, 24, 133);
/* oklch */ color: oklch(33.4% 0.165 285.9);
Tailwind
colors: {
  custom: {
    50: '#785aaa',
    500: '#361885',
    950: '#000000',
  },
}
SCSS
$custom: #361885;
$custom-light: #785aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#361885",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 256.514,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3344,
    "c": 0.16519,
    "h": 285.9
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#361885
secondary
#98B940
accent
#EC3CBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361885

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

Preview Lab → · Contrast checker → · Palette generator →

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