#361794#361794

#361794 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 35.0% C 0.183 H 282.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#361794
RGBrgb(54, 23, 148)
HSLhsl(255, 73%, 34%)
HSVhsv(255, 84%, 58%)
CMYKcmyk(63.5%, 84.5%, 0%, 42%)
CIE-LABlab(22.07, 47.19, -62.02)
CIE-LCHlch(22.07, 77.93, 307.26°)
OKLaboklab(34.97% 0.0406 -0.1789)
OKLCHoklch(34.97% 0.183 282.8)
XYZxyz(7.1713, 3.5347, 28.3156)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361794 #759417
analogous
#173694 #361794 #741794
triadic
#361794 #943617 #179436
tetradic
#361794 #941736 #759417 #179474
square
#361794 #941736 #759417 #179474
split-complementary
#361794 #947417 #369417
monochromatic
#0F072A #230F5F #361794 #491FC9 #6B44E2

Accessibility & contrast

On white

12.30
#361794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#361794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361794
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361794#FFFFFF#000000##FFFFFF
##3617941.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361794;
/* rgb */ color: rgb(54, 23, 148);
/* oklch */ color: oklch(35.0% 0.183 282.8);
Tailwind
colors: {
  custom: {
    50: '#7b5ab5',
    500: '#361794',
    950: '#000000',
  },
}
SCSS
$custom: #361794;
$custom-light: #7b5ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#361794",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 254.88,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34974,
    "c": 0.18343,
    "h": 282.8
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#361794
secondary
#A3C344
accent
#F038C2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #361794

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

Preview Lab → · Contrast checker → · Palette generator →

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