#361685#361685

#361685 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.167 H 286.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#361685
RGBrgb(54, 22, 133)
HSLhsl(257, 72%, 30%)
HSVhsv(257, 83%, 52%)
CMYKcmyk(59.4%, 83.5%, 0%, 47.8%)
CIE-LABlab(20.25, 43.29, -55.67)
CIE-LCHlch(20.25, 70.52, 307.87°)
OKLaboklab(33.22% 0.0465 -0.1603)
OKLCHoklch(33.22% 0.167 286.2)
XYZxyz(6.0406, 3.0512, 22.4564)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361685 #658516
analogous
#162E85 #361685 #6D1685
triadic
#361685 #853616 #168536
tetradic
#361685 #85162E #658516 #16856D
square
#361685 #85162E #658516 #16856D
split-complementary
#361685 #856D16 #2E8516
monochromatic
#0B051C #210D50 #361685 #4B1FBA #6737DE

Accessibility & contrast

On white

13.04
#361685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361685
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361685#FFFFFF#000000##FFFFFF
##3616851.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361685;
/* rgb */ color: rgb(54, 22, 133);
/* oklch */ color: oklch(33.2% 0.167 286.2);
Tailwind
colors: {
  custom: {
    50: '#7859aa',
    500: '#361685',
    950: '#000000',
  },
}
SCSS
$custom: #361685;
$custom-light: #7859aa;
$custom-dark: #000000;
JSON
{
  "hex": "#361685",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 257.297,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33224,
    "c": 0.16696,
    "h": 286.2
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#361685
secondary
#96B93E
accent
#EE39BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361685

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

Preview Lab → · Contrast checker → · Palette generator →

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