#361E7D#361E7D

#361E7D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.149 H 286.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#361E7D
RGBrgb(54, 30, 125)
HSLhsl(255, 61%, 30%)
HSVhsv(255, 76%, 49%)
CMYKcmyk(56.8%, 76%, 0%, 51%)
CIE-LABlab(20.80, 36.93, -49.70)
CIE-LCHlch(20.80, 61.91, 306.61°)
OKLaboklab(33.36% 0.0431 -0.143)
OKLCHoklch(33.36% 0.149 286.8)
XYZxyz(5.6862, 3.1932, 19.7148)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E7D #657D1E
analogous
#1E357D #361E7D #651E7D
triadic
#361E7D #7D361E #1E7D36
tetradic
#361E7D #7D1E35 #657D1E #1E7D65
square
#361E7D #7D1E35 #657D1E #1E7D65
split-complementary
#361E7D #7D651E #357D1E
monochromatic
#0B061A #21124C #361E7D #4B2AAE #6743D2

Accessibility & contrast

On white

12.82
#361E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#361E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E7D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E7D#FFFFFF#000000##FFFFFF
##361E7D1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#17384C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361e7d;
/* rgb */ color: rgb(54, 30, 125);
/* oklch */ color: oklch(33.4% 0.149 286.8);
Tailwind
colors: {
  custom: {
    50: '#765ca4',
    500: '#361e7d',
    950: '#000000',
  },
}
SCSS
$custom: #361e7d;
$custom-light: #765ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#361e7d",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 255.158,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33361,
    "c": 0.14933,
    "h": 286.8
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#361E7D
secondary
#96B046
accent
#E443BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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