#361B72#361B72

#361B72 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.139 H 290.4°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#361B72
RGBrgb(54, 27, 114)
HSLhsl(259, 62%, 28%)
HSVhsv(259, 76%, 45%)
CMYKcmyk(52.6%, 76.3%, 0%, 55.3%)
CIE-LABlab(19.15, 35.20, -45.35)
CIE-LCHlch(19.15, 57.41, 307.81°)
OKLaboklab(31.87% 0.0486 -0.1302)
OKLCHoklch(31.87% 0.139 290.4)
XYZxyz(4.9496, 2.7828, 16.1927)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B72 #57721B
analogous
#1B2B72 #361B72 #621B72
triadic
#361B72 #72361B #1B7236
tetradic
#361B72 #721B2B #57721B #1B7262
square
#361B72 #721B2B #57721B #1B7262
split-complementary
#361B72 #72621B #2B721B
monochromatic
#0C0619 #1F0F41 #361B72 #4D27A3 #6738D0

Accessibility & contrast

On white

13.49
#361B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#361B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B72
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B72#FFFFFF#000000##FFFFFF
##361B721.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#213245
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361b72;
/* rgb */ color: rgb(54, 27, 114);
/* oklch */ color: oklch(31.9% 0.139 290.4);
Tailwind
colors: {
  custom: {
    50: '#745a9b',
    500: '#361b72',
    950: '#000000',
  },
}
SCSS
$custom: #361b72;
$custom-light: #745a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361b72",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 258.621,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31869,
    "c": 0.13899,
    "h": 290.4
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#361B72
secondary
#87A742
accent
#E543B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361B72

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

Preview Lab → · Contrast checker → · Palette generator →

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