#361A77#361A77

#361A77 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.146 H 289.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#361A77
RGBrgb(54, 26, 119)
HSLhsl(258, 64%, 28%)
HSVhsv(258, 78%, 47%)
CMYKcmyk(54.6%, 78.2%, 0%, 53.3%)
CIE-LABlab(19.45, 37.24, -48.08)
CIE-LCHlch(19.45, 60.81, 307.76°)
OKLaboklab(32.23% 0.0481 -0.1382)
OKLCHoklch(32.23% 0.146 289.2)
XYZxyz(5.2195, 2.8547, 17.7252)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A77 #5B771A
analogous
#1A2C77 #361A77 #641A77
triadic
#361A77 #77361A #1A7736
tetradic
#361A77 #771A2C #5B771A #1A7764
square
#361A77 #771A2C #5B771A #1A7764
split-complementary
#361A77 #77641A #2C771A
monochromatic
#0B0519 #1F0F45 #361A77 #4D25A9 #6738D3

Accessibility & contrast

On white

13.37
#361A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#361A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A77
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A77#FFFFFF#000000##FFFFFF
##361A771.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#1D3447
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361a77;
/* rgb */ color: rgb(54, 26, 119);
/* oklch */ color: oklch(32.2% 0.146 289.2);
Tailwind
colors: {
  custom: {
    50: '#755a9f',
    500: '#361a77',
    950: '#000000',
  },
}
SCSS
$custom: #361a77;
$custom-light: #755a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#361a77",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 258.065,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3223,
    "c": 0.14634,
    "h": 289.2
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#361A77
secondary
#8CAC41
accent
#E741B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361A77

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

Preview Lab → · Contrast checker → · Palette generator →

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