#361A72#361A72

#361A72 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.140 H 290.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#361A72
RGBrgb(54, 26, 114)
HSLhsl(259, 63%, 27%)
HSVhsv(259, 77%, 45%)
CMYKcmyk(52.6%, 77.2%, 0%, 55.3%)
CIE-LABlab(18.96, 35.74, -45.67)
CIE-LCHlch(18.96, 57.99, 308.04°)
OKLaboklab(31.73% 0.0495 -0.1311)
OKLCHoklch(31.73% 0.14 290.7)
XYZxyz(4.9271, 2.7378, 16.1852)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A72 #56721A
analogous
#1A2A72 #361A72 #621A72
triadic
#361A72 #72361A #1A7236
tetradic
#361A72 #721A2A #56721A #1A7262
square
#361A72 #721A2A #56721A #1A7262
split-complementary
#361A72 #72621A #2A721A
monochromatic
#0C0619 #1E0F40 #361A72 #4E25A4 #6735D1

Accessibility & contrast

On white

13.57
#361A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361A72
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A72#FFFFFF#000000##FFFFFF
##361A721.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361a72;
/* rgb */ color: rgb(54, 26, 114);
/* oklch */ color: oklch(31.7% 0.140 290.7);
Tailwind
colors: {
  custom: {
    50: '#745a9b',
    500: '#361a72',
    950: '#000000',
  },
}
SCSS
$custom: #361a72;
$custom-light: #745a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361a72",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 259.091,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31734,
    "c": 0.14016,
    "h": 290.7
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#361A72
secondary
#86A741
accent
#E642B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361A72

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

Preview Lab → · Contrast checker → · Palette generator →

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