#361877#361877

#361877 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.148 H 289.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#361877
RGBrgb(54, 24, 119)
HSLhsl(259, 66%, 28%)
HSVhsv(259, 80%, 47%)
CMYKcmyk(54.6%, 79.8%, 0%, 53.3%)
CIE-LABlab(19.09, 38.26, -48.67)
CIE-LCHlch(19.09, 61.91, 308.17°)
OKLaboklab(31.98% 0.0498 -0.1399)
OKLCHoklch(31.98% 0.149 289.6)
XYZxyz(5.1768, 2.7692, 17.7109)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361877 #597718
analogous
#182A77 #361877 #651877
triadic
#361877 #773618 #187736
tetradic
#361877 #77182A #597718 #187765
square
#361877 #77182A #597718 #187765
split-complementary
#361877 #776518 #2A7718
monochromatic
#0C0519 #1F0E44 #361877 #4D22AA #6733D6

Accessibility & contrast

On white

13.52
#361877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#361877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361877
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361877#FFFFFF#000000##FFFFFF
##3618771.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#1E3347
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361877;
/* rgb */ color: rgb(54, 24, 119);
/* oklch */ color: oklch(32.0% 0.148 289.6);
Tailwind
colors: {
  custom: {
    50: '#75599f',
    500: '#361877',
    950: '#000000',
  },
}
SCSS
$custom: #361877;
$custom-light: #75599f;
$custom-dark: #000000;
JSON
{
  "hex": "#361877",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 258.947,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31979,
    "c": 0.1485,
    "h": 289.6
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#361877
secondary
#8AAC3F
accent
#E93EB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361877

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

Preview Lab → · Contrast checker → · Palette generator →

#361877 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva