#361B71#361B71

#361B71 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.138 H 290.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#361B71
RGBrgb(54, 27, 113)
HSLhsl(259, 61%, 27%)
HSVhsv(259, 76%, 44%)
CMYKcmyk(52.2%, 76.1%, 0%, 55.7%)
CIE-LABlab(19.06, 34.89, -44.86)
CIE-LCHlch(19.06, 56.84, 307.87°)
OKLaboklab(31.77% 0.0488 -0.1288)
OKLCHoklch(31.77% 0.138 290.8)
XYZxyz(4.8930, 2.7602, 15.8945)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B71 #56711B
analogous
#1B2B71 #361B71 #611B71
triadic
#361B71 #71361B #1B7136
tetradic
#361B71 #711B2B #56711B #1B7161
square
#361B71 #711B2B #56711B #1B7161
split-complementary
#361B71 #71611B #2B711B
monochromatic
#0C0619 #1E0F40 #361B71 #4E27A2 #6737CF

Accessibility & contrast

On white

13.53
#361B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#361B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B71
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B71#FFFFFF#000000##FFFFFF
##361B711.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#223244
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361b71;
/* rgb */ color: rgb(54, 27, 113);
/* oklch */ color: oklch(31.8% 0.138 290.8);
Tailwind
colors: {
  custom: {
    50: '#745a9b',
    500: '#361b71',
    950: '#000000',
  },
}
SCSS
$custom: #361b71;
$custom-light: #745a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361b71",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 258.837,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31772,
    "c": 0.13773,
    "h": 290.8
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#361B71
secondary
#86A642
accent
#E543B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361B71

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

Preview Lab → · Contrast checker → · Palette generator →

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