#361E82#361E82

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

Color values

HEX#361E82
RGBrgb(54, 30, 130)
HSLhsl(254, 63%, 31%)
HSVhsv(254, 77%, 51%)
CMYKcmyk(58.5%, 76.9%, 0%, 49%)
CIE-LABlab(21.30, 38.47, -52.05)
CIE-LCHlch(21.30, 64.72, 306.47°)
OKLaboklab(33.86% 0.0418 -0.1498)
OKLCHoklch(33.86% 0.156 285.6)
XYZxyz(6.0136, 3.3242, 21.4395)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E82 #6A821E
analogous
#1E3882 #361E82 #681E82
triadic
#361E82 #82361E #1E8236
tetradic
#361E82 #821E38 #6A821E #1E8268
square
#361E82 #821E38 #6A821E #1E8268
split-complementary
#361E82 #82681E #38821E
monochromatic
#0D071F #211350 #361E82 #4B29B4 #6846D4

Accessibility & contrast

On white

12.61
#361E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#361E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E82
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E82#FFFFFF#000000##FFFFFF
##361E821.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#113A4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361e82;
/* rgb */ color: rgb(54, 30, 130);
/* oklch */ color: oklch(33.9% 0.156 285.6);
Tailwind
colors: {
  custom: {
    50: '#775da7',
    500: '#361e82',
    950: '#000000',
  },
}
SCSS
$custom: #361e82;
$custom-light: #775da7;
$custom-dark: #000000;
JSON
{
  "hex": "#361e82",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 254.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33862,
    "c": 0.15558,
    "h": 285.6
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#361E82
secondary
#9BB547
accent
#E642BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #361E82

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

Preview Lab → · Contrast checker → · Palette generator →

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