#361C85#361C85

#361C85 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.161 H 285.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#361C85
RGBrgb(54, 28, 133)
HSLhsl(255, 65%, 32%)
HSVhsv(255, 79%, 52%)
CMYKcmyk(59.4%, 78.9%, 0%, 47.8%)
CIE-LABlab(21.24, 40.43, -54.04)
CIE-LCHlch(21.24, 67.49, 306.80°)
OKLaboklab(33.91% 0.0425 -0.1557)
OKLCHoklch(33.91% 0.161 285.3)
XYZxyz(6.1689, 3.3079, 22.4992)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C85 #6B851C
analogous
#1C3785 #361C85 #6B1C85
triadic
#361C85 #85361C #1C8536
tetradic
#361C85 #851C37 #6B851C #1C856B
square
#361C85 #851C37 #6B851C #1C856B
split-complementary
#361C85 #856B1C #37851C
monochromatic
#0D0720 #211152 #361C85 #4B27B8 #6844D8

Accessibility & contrast

On white

12.64
#361C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#361C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C85
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C85#FFFFFF#000000##FFFFFF
##361C851.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#0B3A50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361c85;
/* rgb */ color: rgb(54, 28, 133);
/* oklch */ color: oklch(33.9% 0.161 285.3);
Tailwind
colors: {
  custom: {
    50: '#775caa',
    500: '#361c85',
    950: '#000000',
  },
}
SCSS
$custom: #361c85;
$custom-light: #775caa;
$custom-dark: #000000;
JSON
{
  "hex": "#361c85",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 254.857,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33912,
    "c": 0.16135,
    "h": 285.3
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#361C85
secondary
#9CB845
accent
#E840BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361C85

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

Preview Lab → · Contrast checker → · Palette generator →

#361C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva