#361A85#361A85

#361A85 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.163 H 285.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#361A85
RGBrgb(54, 26, 133)
HSLhsl(256, 67%, 31%)
HSVhsv(256, 80%, 52%)
CMYKcmyk(59.4%, 80.5%, 0%, 47.8%)
CIE-LABlab(20.89, 41.43, -54.61)
CIE-LCHlch(20.89, 68.55, 307.19°)
OKLaboklab(33.67% 0.0439 -0.1573)
OKLCHoklch(33.67% 0.163 285.6)
XYZxyz(6.1231, 3.2161, 22.4839)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A85 #69851A
analogous
#1A3385 #361A85 #6B1A85
triadic
#361A85 #85361A #1A8536
tetradic
#361A85 #851A33 #69851A #1A856B
square
#361A85 #851A33 #69851A #1A856B
split-complementary
#361A85 #856B1A #33851A
monochromatic
#0C061F #211052 #361A85 #4B24B8 #6840DA

Accessibility & contrast

On white

12.78
#361A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#361A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A85
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A85#FFFFFF#000000##FFFFFF
##361A851.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#0C394F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361a85;
/* rgb */ color: rgb(54, 26, 133);
/* oklch */ color: oklch(33.7% 0.163 285.6);
Tailwind
colors: {
  custom: {
    50: '#775baa',
    500: '#361a85',
    950: '#000000',
  },
}
SCSS
$custom: #361a85;
$custom-light: #775baa;
$custom-dark: #000000;
JSON
{
  "hex": "#361a85",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 255.701,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33669,
    "c": 0.16332,
    "h": 285.6
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#361A85
secondary
#9AB842
accent
#EA3EBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361A85

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

Preview Lab → · Contrast checker → · Palette generator →

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