#361B88#361B88

#361B88 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.166 H 284.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#361B88
RGBrgb(54, 27, 136)
HSLhsl(255, 67%, 32%)
HSVhsv(255, 80%, 53%)
CMYKcmyk(60.3%, 80.1%, 0%, 46.7%)
CIE-LABlab(21.38, 41.84, -55.69)
CIE-LCHlch(21.38, 69.66, 306.92°)
OKLaboklab(34.1% 0.0423 -0.1605)
OKLCHoklch(34.1% 0.166 284.8)
XYZxyz(6.3558, 3.3453, 23.5986)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B88 #6D881B
analogous
#1B3788 #361B88 #6C1B88
triadic
#361B88 #88361B #1B8836
tetradic
#361B88 #881B37 #6D881B #1B886C
square
#361B88 #881B37 #6D881B #1B886C
split-complementary
#361B88 #886C1B #37881B
monochromatic
#0D0722 #221155 #361B88 #4A25BB #6944DA

Accessibility & contrast

On white

12.58
#361B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#361B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B88
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B88#FFFFFF#000000##FFFFFF
##361B881.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#053B51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361b88;
/* rgb */ color: rgb(54, 27, 136);
/* oklch */ color: oklch(34.1% 0.166 284.8);
Tailwind
colors: {
  custom: {
    50: '#785bac',
    500: '#361b88',
    950: '#000000',
  },
}
SCSS
$custom: #361b88;
$custom-light: #785bac;
$custom-dark: #000000;
JSON
{
  "hex": "#361b88",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 254.862,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34104,
    "c": 0.16596,
    "h": 284.8
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#361B88
secondary
#9DBB44
accent
#EA3EBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361B88

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

Preview Lab → · Contrast checker → · Palette generator →

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