#361B8D#361B8D

#361B8D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.172 H 283.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#361B8D
RGBrgb(54, 27, 141)
HSLhsl(254, 68%, 33%)
HSVhsv(254, 81%, 55%)
CMYKcmyk(61.7%, 80.9%, 0%, 44.7%)
CIE-LABlab(21.91, 43.34, -57.94)
CIE-LCHlch(21.91, 72.35, 306.80°)
OKLaboklab(34.64% 0.0407 -0.167)
OKLCHoklch(34.64% 0.172 283.7)
XYZxyz(6.7195, 3.4908, 25.5138)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B8D #728D1B
analogous
#1B398D #361B8D #6F1B8D
triadic
#361B8D #8D361B #1B8D36
tetradic
#361B8D #8D1B39 #728D1B #1B8D6F
square
#361B8D #8D1B39 #728D1B #1B8D6F
split-complementary
#361B8D #8D6F1B #398D1B
monochromatic
#0F0726 #22115A #361B8D #4A25C0 #6A47DC

Accessibility & contrast

On white

12.37
#361B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#361B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B8D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B8D#FFFFFF#000000##FFFFFF
##361B8D1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361b8d;
/* rgb */ color: rgb(54, 27, 141);
/* oklch */ color: oklch(34.6% 0.172 283.7);
Tailwind
colors: {
  custom: {
    50: '#795caf',
    500: '#361b8d',
    950: '#000000',
  },
}
SCSS
$custom: #361b8d;
$custom-light: #795caf;
$custom-dark: #000000;
JSON
{
  "hex": "#361b8d",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 254.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34635,
    "c": 0.17192,
    "h": 283.7
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#361B8D
secondary
#A1BD46
accent
#EB3DC2
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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