#361F82#361F82

#361F82 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.154 H 285.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#361F82
RGBrgb(54, 31, 130)
HSLhsl(254, 61%, 32%)
HSVhsv(254, 76%, 51%)
CMYKcmyk(58.5%, 76.2%, 0%, 49%)
CIE-LABlab(21.49, 37.93, -51.73)
CIE-LCHlch(21.49, 64.15, 306.25°)
OKLaboklab(34% 0.041 -0.1489)
OKLCHoklch(34% 0.154 285.4)
XYZxyz(6.0394, 3.3756, 21.4481)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F82 #6B821F
analogous
#1F3A82 #361F82 #681F82
triadic
#361F82 #82361F #1F8236
tetradic
#361F82 #821F3A #6B821F #1F8268
square
#361F82 #821F3A #6B821F #1F8268
split-complementary
#361F82 #82681F #3A821F
monochromatic
#0D071F #211351 #361F82 #4B2BB3 #6848D3

Accessibility & contrast

On white

12.54
#361F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#361F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F82
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F82#FFFFFF#000000##FFFFFF
##361F821.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#103A4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361f82;
/* rgb */ color: rgb(54, 31, 130);
/* oklch */ color: oklch(34.0% 0.154 285.4);
Tailwind
colors: {
  custom: {
    50: '#765da7',
    500: '#361f82',
    950: '#000000',
  },
}
SCSS
$custom: #361f82;
$custom-light: #765da7;
$custom-dark: #000000;
JSON
{
  "hex": "#361f82",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 253.939,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33997,
    "c": 0.15449,
    "h": 285.4
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#361F82
secondary
#9CB548
accent
#E543BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #361F82

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

Preview Lab → · Contrast checker → · Palette generator →

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