#361E7E#361E7E

#361E7E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.151 H 286.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#361E7E
RGBrgb(54, 30, 126)
HSLhsl(255, 62%, 31%)
HSVhsv(255, 76%, 49%)
CMYKcmyk(57.1%, 76.2%, 0%, 50.6%)
CIE-LABlab(20.90, 37.23, -50.17)
CIE-LCHlch(20.90, 62.48, 306.58°)
OKLaboklab(33.46% 0.0429 -0.1444)
OKLCHoklch(33.46% 0.151 286.5)
XYZxyz(5.7504, 3.2189, 20.0529)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E7E #667E1E
analogous
#1E367E #361E7E #661E7E
triadic
#361E7E #7E361E #1E7E36
tetradic
#361E7E #7E1E36 #667E1E #1E7E66
square
#361E7E #7E1E36 #667E1E #1E7E66
split-complementary
#361E7E #7E661E #367E1E
monochromatic
#0C061B #21124D #361E7E #4B2AAF #6844D2

Accessibility & contrast

On white

12.78
#361E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361E7E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E7E#FFFFFF#000000##FFFFFF
##361E7E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#16384C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361e7e;
/* rgb */ color: rgb(54, 30, 126);
/* oklch */ color: oklch(33.5% 0.151 286.5);
Tailwind
colors: {
  custom: {
    50: '#765da4',
    500: '#361e7e',
    950: '#000000',
  },
}
SCSS
$custom: #361e7e;
$custom-light: #765da4;
$custom-dark: #000000;
JSON
{
  "hex": "#361e7e",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 255,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33461,
    "c": 0.15059,
    "h": 286.5
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#361E7E
secondary
#97B147
accent
#E543BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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