#361F8E#361F8E

#361F8E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.169 H 282.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#361F8E
RGBrgb(54, 31, 142)
HSLhsl(252, 64%, 34%)
HSVhsv(252, 78%, 56%)
CMYKcmyk(62%, 78.2%, 0%, 44.3%)
CIE-LABlab(22.71, 41.64, -57.24)
CIE-LCHlch(22.71, 70.78, 306.03°)
OKLaboklab(35.23% 0.0378 -0.165)
OKLCHoklch(35.23% 0.169 282.9)
XYZxyz(6.8923, 3.7168, 25.9402)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F8E #778E1F
analogous
#1F408E #361F8E #6E1F8E
triadic
#361F8E #8E361F #1F8E36
tetradic
#361F8E #8E1F40 #778E1F #1F8E6E
square
#361F8E #8E1F40 #778E1F #1F8E6E
split-complementary
#361F8E #8E6E1F #408E1F
monochromatic
#10092A #23145C #361F8E #492AC0 #6B4FD9

Accessibility & contrast

On white

12.05
#361F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361F8E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F8E#FFFFFF#000000##FFFFFF
##361F8E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361f8e;
/* rgb */ color: rgb(54, 31, 142);
/* oklch */ color: oklch(35.2% 0.169 282.9);
Tailwind
colors: {
  custom: {
    50: '#795eb0',
    500: '#361f8e',
    950: '#000000',
  },
}
SCSS
$custom: #361f8e;
$custom-light: #795eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#361f8e",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 252.432,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35226,
    "c": 0.16931,
    "h": 282.9
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#361F8E
secondary
#A5BB4D
accent
#E741C5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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