#361A71#361A71

#361A71 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.139 H 291.0°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#361A71
RGBrgb(54, 26, 113)
HSLhsl(259, 63%, 27%)
HSVhsv(259, 77%, 44%)
CMYKcmyk(52.2%, 77%, 0%, 55.7%)
CIE-LABlab(18.86, 35.44, -45.18)
CIE-LCHlch(18.86, 57.42, 308.11°)
OKLaboklab(31.64% 0.0497 -0.1297)
OKLCHoklch(31.64% 0.139 291)
XYZxyz(4.8705, 2.7151, 15.8870)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A71 #55711A
analogous
#1A2A71 #361A71 #611A71
triadic
#361A71 #71361A #1A7136
tetradic
#361A71 #711A2A #55711A #1A7161
square
#361A71 #711A2A #55711A #1A7161
split-complementary
#361A71 #71611A #2A711A
monochromatic
#0C0619 #1E0F3F #361A71 #4E25A3 #6735D0

Accessibility & contrast

On white

13.61
#361A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#361A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A71
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A71#FFFFFF#000000##FFFFFF
##361A711.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361a71;
/* rgb */ color: rgb(54, 26, 113);
/* oklch */ color: oklch(31.6% 0.139 291.0);
Tailwind
colors: {
  custom: {
    50: '#745a9b',
    500: '#361a71',
    950: '#000000',
  },
}
SCSS
$custom: #361a71;
$custom-light: #745a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361a71",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 259.31,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31636,
    "c": 0.13892,
    "h": 291
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

primary
#361A71
secondary
#85A641
accent
#E642B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361A71

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

Preview Lab → · Contrast checker → · Palette generator →

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