#361A7F#361A7F

#361A7F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.156 H 287.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#361A7F
RGBrgb(54, 26, 127)
HSLhsl(257, 66%, 30%)
HSVhsv(257, 80%, 50%)
CMYKcmyk(57.5%, 79.5%, 0%, 50.2%)
CIE-LABlab(20.26, 39.64, -51.85)
CIE-LCHlch(20.26, 65.26, 307.40°)
OKLaboklab(33.04% 0.0458 -0.1492)
OKLCHoklch(33.04% 0.156 287)
XYZxyz(5.7203, 3.0551, 20.3628)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A7F #637F1A
analogous
#1A307F #361A7F #691A7F
triadic
#361A7F #7F361A #1A7F36
tetradic
#361A7F #7F1A30 #637F1A #1A7F69
square
#361A7F #7F1A30 #637F1A #1A7F69
split-complementary
#361A7F #7F691A #307F1A
monochromatic
#0B0519 #20104C #361A7F #4C24B2 #673CD7

Accessibility & contrast

On white

13.04
#361A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A7F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A7F#FFFFFF#000000##FFFFFF
##361A7F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#15374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361a7f;
/* rgb */ color: rgb(54, 26, 127);
/* oklch */ color: oklch(33.0% 0.156 287.0);
Tailwind
colors: {
  custom: {
    50: '#765aa5',
    500: '#361a7f',
    950: '#000000',
  },
}
SCSS
$custom: #361a7f;
$custom-light: #765aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#361a7f",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 256.634,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.33044,
    "c": 0.1561,
    "h": 287
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#361A7F
secondary
#94B342
accent
#E93FBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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