#361F8D#361F8D

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

Color values

HEX#361F8D
RGBrgb(54, 31, 141)
HSLhsl(253, 64%, 34%)
HSVhsv(253, 78%, 55%)
CMYKcmyk(61.7%, 78%, 0%, 44.7%)
CIE-LABlab(22.61, 41.33, -56.79)
CIE-LCHlch(22.61, 70.24, 306.05°)
OKLaboklab(35.12% 0.0381 -0.1637)
OKLCHoklch(35.12% 0.168 283.1)
XYZxyz(6.8175, 3.6869, 25.5465)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F8D #768D1F
analogous
#1F3F8D #361F8D #6D1F8D
triadic
#361F8D #8D361F #1F8D36
tetradic
#361F8D #8D1F3F #768D1F #1F8D6D
square
#361F8D #8D1F3F #768D1F #1F8D6D
split-complementary
#361F8D #8D6D1F #3F8D1F
monochromatic
#100929 #23145B #361F8D #492ABF #6B4ED8

Accessibility & contrast

On white

12.09
#361F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#361F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F8D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F8D#FFFFFF#000000##FFFFFF
##361F8D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361f8d;
/* rgb */ color: rgb(54, 31, 141);
/* oklch */ color: oklch(35.1% 0.168 283.1);
Tailwind
colors: {
  custom: {
    50: '#795eaf',
    500: '#361f8d',
    950: '#000000',
  },
}
SCSS
$custom: #361f8d;
$custom-light: #795eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#361f8d",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 252.545,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35122,
    "c": 0.16809,
    "h": 283.1
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#361F8D
secondary
#A4BB4D
accent
#E741C4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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