#361777#361777

#361777 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.150 H 289.8°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#361777
RGBrgb(54, 23, 119)
HSLhsl(259, 68%, 28%)
HSVhsv(259, 81%, 47%)
CMYKcmyk(54.6%, 80.7%, 0%, 53.3%)
CIE-LABlab(18.92, 38.75, -48.95)
CIE-LCHlch(18.92, 62.43, 308.37°)
OKLaboklab(31.86% 0.0506 -0.1407)
OKLCHoklch(31.86% 0.15 289.8)
XYZxyz(5.1565, 2.7287, 17.7042)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361777 #587717
analogous
#172877 #361777 #661777
triadic
#361777 #773617 #177736
tetradic
#361777 #771728 #587717 #177766
square
#361777 #771728 #587717 #177766
split-complementary
#361777 #776617 #287717
monochromatic
#0C051A #1F0D44 #361777 #4D21AA #6731D7

Accessibility & contrast

On white

13.59
#361777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361777
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361777#FFFFFF#000000##FFFFFF
##3617771.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361777;
/* rgb */ color: rgb(54, 23, 119);
/* oklch */ color: oklch(31.9% 0.150 289.8);
Tailwind
colors: {
  custom: {
    50: '#75589f',
    500: '#361777',
    950: '#000000',
  },
}
SCSS
$custom: #361777;
$custom-light: #75589f;
$custom-dark: #000000;
JSON
{
  "hex": "#361777",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 259.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31859,
    "c": 0.14954,
    "h": 289.8
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#361777
secondary
#88AC3E
accent
#EA3DB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #361777

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

Preview Lab → · Contrast checker → · Palette generator →

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