#361E8B#361E8B

#361E8B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.167 H 283.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#361E8B
RGBrgb(54, 30, 139)
HSLhsl(253, 64%, 33%)
HSVhsv(253, 78%, 55%)
CMYKcmyk(61.2%, 78.4%, 0%, 45.5%)
CIE-LABlab(22.22, 41.24, -56.18)
CIE-LCHlch(22.22, 69.69, 306.28°)
OKLaboklab(34.79% 0.0393 -0.1619)
OKLCHoklch(34.79% 0.167 283.7)
XYZxyz(6.6444, 3.5765, 24.7613)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E8B #738B1E
analogous
#1E3C8B #361E8B #6C1E8B
triadic
#361E8B #8B361E #1E8B36
tetradic
#361E8B #8B1E3C #738B1E #1E8B6C
square
#361E8B #8B1E3C #738B1E #1E8B6C
split-complementary
#361E8B #8B6C1E #3C8B1E
monochromatic
#0F0826 #221359 #361E8B #4A29BD #6A4BD8

Accessibility & contrast

On white

12.24
#361E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#361E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E8B
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E8B#FFFFFF#000000##FFFFFF
##361E8B1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361e8b;
/* rgb */ color: rgb(54, 30, 139);
/* oklch */ color: oklch(34.8% 0.167 283.7);
Tailwind
colors: {
  custom: {
    50: '#785dae',
    500: '#361e8b',
    950: '#000000',
  },
}
SCSS
$custom: #361e8b;
$custom-light: #785dae;
$custom-dark: #000000;
JSON
{
  "hex": "#361e8b",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 253.211,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34787,
    "c": 0.16665,
    "h": 283.7
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#361E8B
secondary
#A2BB4A
accent
#E740C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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