#361E8E#361E8E

#361E8E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.170 H 283.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#361E8E
RGBrgb(54, 30, 142)
HSLhsl(253, 65%, 34%)
HSVhsv(253, 79%, 56%)
CMYKcmyk(62%, 78.9%, 0%, 44.3%)
CIE-LABlab(22.53, 42.15, -57.54)
CIE-LCHlch(22.53, 71.33, 306.23°)
OKLaboklab(35.1% 0.0385 -0.1659)
OKLCHoklch(35.1% 0.17 283.1)
XYZxyz(6.8666, 3.6653, 25.9316)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E8E #768E1E
analogous
#1E3E8E #361E8E #6E1E8E
triadic
#361E8E #8E361E #1E8E36
tetradic
#361E8E #8E1E3E #768E1E #1E8E6E
square
#361E8E #8E1E3E #768E1E #1E8E6E
split-complementary
#361E8E #8E6E1E #3E8E1E
monochromatic
#100929 #23135B #361E8E #4929C1 #6B4DD9

Accessibility & contrast

On white

12.12
#361E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#361E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E8E
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E8E#FFFFFF#000000##FFFFFF
##361E8E1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361e8e;
/* rgb */ color: rgb(54, 30, 142);
/* oklch */ color: oklch(35.1% 0.170 283.1);
Tailwind
colors: {
  custom: {
    50: '#795db0',
    500: '#361e8e',
    950: '#000000',
  },
}
SCSS
$custom: #361e8e;
$custom-light: #795db0;
$custom-dark: #000000;
JSON
{
  "hex": "#361e8e",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 252.857,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35101,
    "c": 0.17029,
    "h": 283.1
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#361E8E
secondary
#A4BC4C
accent
#E840C4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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