#361B8E#361B8E

#361B8E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.173 H 283.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#361B8E
RGBrgb(54, 27, 142)
HSLhsl(254, 68%, 33%)
HSVhsv(254, 81%, 56%)
CMYKcmyk(62%, 81%, 0%, 44.3%)
CIE-LABlab(22.02, 43.63, -58.38)
CIE-LCHlch(22.02, 72.89, 306.77°)
OKLaboklab(34.74% 0.0404 -0.1683)
OKLCHoklch(34.74% 0.173 283.5)
XYZxyz(6.7942, 3.5207, 25.9075)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B8E #738E1B
analogous
#1B398E #361B8E #6F1B8E
triadic
#361B8E #8E361B #1B8E36
tetradic
#361B8E #8E1B39 #738E1B #1B8E6F
square
#361B8E #8E1B39 #738E1B #1B8E6F
split-complementary
#361B8E #8E6F1B #398E1B
monochromatic
#0F0727 #22115B #361B8E #4A25C1 #6A47DC

Accessibility & contrast

On white

12.32
#361B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#361B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B8E
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B8E#FFFFFF#000000##FFFFFF
##361B8E1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361b8e;
/* rgb */ color: rgb(54, 27, 142);
/* oklch */ color: oklch(34.7% 0.173 283.5);
Tailwind
colors: {
  custom: {
    50: '#795cb0',
    500: '#361b8e',
    950: '#000000',
  },
}
SCSS
$custom: #361b8e;
$custom-light: #795cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#361b8e",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 254.087,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34743,
    "c": 0.17311,
    "h": 283.5
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#361B8E
secondary
#A2BE47
accent
#EB3DC2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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