#361F8F#361F8F

#361F8F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.171 H 282.7°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#361F8F
RGBrgb(54, 31, 143)
HSLhsl(252, 64%, 34%)
HSVhsv(252, 78%, 56%)
CMYKcmyk(62.2%, 78.3%, 0%, 43.9%)
CIE-LABlab(22.82, 41.95, -57.69)
CIE-LCHlch(22.82, 71.33, 306.02°)
OKLaboklab(35.33% 0.0375 -0.1663)
OKLCHoklch(35.33% 0.171 282.7)
XYZxyz(6.9677, 3.7469, 26.3373)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F8F #788F1F
analogous
#1F408F #361F8F #6E1F8F
triadic
#361F8F #8F361F #1F8F36
tetradic
#361F8F #8F1F40 #788F1F #1F8F6E
square
#361F8F #8F1F40 #788F1F #1F8F6E
split-complementary
#361F8F #8F6E1F #408F1F
monochromatic
#10092A #23145D #361F8F #492AC1 #6C4FD9

Accessibility & contrast

On white

12.00
#361F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#361F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F8F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F8F#FFFFFF#000000##FFFFFF
##361F8F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361f8f;
/* rgb */ color: rgb(54, 31, 143);
/* oklch */ color: oklch(35.3% 0.171 282.7);
Tailwind
colors: {
  custom: {
    50: '#795eb1',
    500: '#361f8f',
    950: '#000000',
  },
}
SCSS
$custom: #361f8f;
$custom-light: #795eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#361f8f",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 252.321,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35331,
    "c": 0.17053,
    "h": 282.7
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#361F8F
secondary
#A5BC4E
accent
#E740C5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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