#361779#361779

#361779 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.152 H 289.2°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#361779
RGBrgb(54, 23, 121)
HSLhsl(259, 68%, 28%)
HSVhsv(259, 81%, 47%)
CMYKcmyk(55.4%, 81%, 0%, 52.5%)
CIE-LABlab(19.13, 39.34, -49.89)
CIE-LCHlch(19.13, 63.53, 308.25°)
OKLaboklab(32.07% 0.0499 -0.1435)
OKLCHoklch(32.07% 0.152 289.2)
XYZxyz(5.2779, 2.7773, 18.3434)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361779 #5A7917
analogous
#172979 #361779 #671779
triadic
#361779 #793617 #177936
tetradic
#361779 #791729 #5A7917 #177967
square
#361779 #791729 #5A7917 #177967
split-complementary
#361779 #796717 #297917
monochromatic
#0B051A #1F0D46 #361779 #4D21AC #6732D8

Accessibility & contrast

On white

13.50
#361779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#361779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361779
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361779#FFFFFF#000000##FFFFFF
##3617791.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#1C3348
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361779;
/* rgb */ color: rgb(54, 23, 121);
/* oklch */ color: oklch(32.1% 0.152 289.2);
Tailwind
colors: {
  custom: {
    50: '#7658a1',
    500: '#361779',
    950: '#000000',
  },
}
SCSS
$custom: #361779;
$custom-light: #7658a1;
$custom-dark: #000000;
JSON
{
  "hex": "#361779",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 258.98,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32065,
    "c": 0.15193,
    "h": 289.2
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#361779
secondary
#8BAE3E
accent
#EB3DB4
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361779

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

Preview Lab → · Contrast checker → · Palette generator →

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