#361785#361785

#361785 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.166 H 286.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#361785
RGBrgb(54, 23, 133)
HSLhsl(257, 71%, 31%)
HSVhsv(257, 83%, 52%)
CMYKcmyk(59.4%, 82.7%, 0%, 47.8%)
CIE-LABlab(20.40, 42.85, -55.42)
CIE-LCHlch(20.40, 70.05, 307.71°)
OKLaboklab(33.33% 0.0459 -0.1596)
OKLCHoklch(33.33% 0.166 286)
XYZxyz(6.0601, 3.0902, 22.4629)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361785 #668517
analogous
#172F85 #361785 #6D1785
triadic
#361785 #853617 #178536
tetradic
#361785 #85172F #668517 #17856D
square
#361785 #85172F #668517 #17856D
split-complementary
#361785 #856D17 #2F8517
monochromatic
#0C051D #210E51 #361785 #4B20B9 #683ADD

Accessibility & contrast

On white

12.98
#361785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#361785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361785
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361785#FFFFFF#000000##FFFFFF
##3617851.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361785;
/* rgb */ color: rgb(54, 23, 133);
/* oklch */ color: oklch(33.3% 0.166 286.0);
Tailwind
colors: {
  custom: {
    50: '#7859aa',
    500: '#361785',
    950: '#000000',
  },
}
SCSS
$custom: #361785;
$custom-light: #7859aa;
$custom-dark: #000000;
JSON
{
  "hex": "#361785",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 256.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33331,
    "c": 0.16609,
    "h": 286
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#361785
secondary
#97B93F
accent
#ED3BBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361785

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

Preview Lab → · Contrast checker → · Palette generator →

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