#361790#361790

#361790 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.179 H 283.6°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#361790
RGBrgb(54, 23, 144)
HSLhsl(255, 72%, 33%)
HSVhsv(255, 84%, 56%)
CMYKcmyk(62.5%, 84%, 0%, 43.5%)
CIE-LABlab(21.62, 46.04, -60.29)
CIE-LCHlch(21.62, 75.86, 307.36°)
OKLaboklab(34.53% 0.042 -0.1738)
OKLCHoklch(34.53% 0.179 283.6)
XYZxyz(6.8602, 3.4102, 26.6769)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361790 #719017
analogous
#173490 #361790 #721790
triadic
#361790 #903617 #179036
tetradic
#361790 #901734 #719017 #179072
square
#361790 #901734 #719017 #179072
split-complementary
#361790 #907217 #349017
monochromatic
#0E0626 #220F5B #361790 #4A1FC5 #6A41E1

Accessibility & contrast

On white

12.48
#361790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#361790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361790
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361790#FFFFFF#000000##FFFFFF
##3617901.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361790;
/* rgb */ color: rgb(54, 23, 144);
/* oklch */ color: oklch(34.5% 0.179 283.6);
Tailwind
colors: {
  custom: {
    50: '#7a5ab2',
    500: '#361790',
    950: '#000000',
  },
}
SCSS
$custom: #361790;
$custom-light: #7a5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#361790",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 255.372,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3453,
    "c": 0.17884,
    "h": 283.6
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#361790
secondary
#A0C142
accent
#EF39C0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361790

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

Preview Lab → · Contrast checker → · Palette generator →

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