#361F88#361F88

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

Color values

HEX#361F88
RGBrgb(54, 31, 136)
HSLhsl(253, 63%, 33%)
HSVhsv(253, 77%, 53%)
CMYKcmyk(60.3%, 77.2%, 0%, 46.7%)
CIE-LABlab(22.09, 39.79, -54.51)
CIE-LCHlch(22.09, 67.49, 306.13°)
OKLaboklab(34.61% 0.0395 -0.1571)
OKLCHoklch(34.61% 0.162 284.1)
XYZxyz(6.4539, 3.5414, 23.6313)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F88 #71881F
analogous
#1F3C88 #361F88 #6A1F88
triadic
#361F88 #88361F #1F8836
tetradic
#361F88 #881F3C #71881F #1F886A
square
#361F88 #881F3C #71881F #1F886A
split-complementary
#361F88 #886A1F #3C881F
monochromatic
#0E0824 #221456 #361F88 #4A2ABA #6A4BD6

Accessibility & contrast

On white

12.29
#361F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#361F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F88
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F88#FFFFFF#000000##FFFFFF
##361F881.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#043D52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361f88;
/* rgb */ color: rgb(54, 31, 136);
/* oklch */ color: oklch(34.6% 0.162 284.1);
Tailwind
colors: {
  custom: {
    50: '#785eac',
    500: '#361f88',
    950: '#000000',
  },
}
SCSS
$custom: #361f88;
$custom-light: #785eac;
$custom-dark: #000000;
JSON
{
  "hex": "#361f88",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 253.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34606,
    "c": 0.16195,
    "h": 284.1
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#361F88
secondary
#A0B94A
accent
#E642C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361F88

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

Preview Lab → · Contrast checker → · Palette generator →

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