#361992#361992

#361992 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.180 H 282.9°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#361992
RGBrgb(54, 25, 146)
HSLhsl(254, 71%, 34%)
HSVhsv(254, 83%, 57%)
CMYKcmyk(63%, 82.9%, 0%, 42.7%)
CIE-LABlab(22.14, 45.74, -60.67)
CIE-LCHlch(22.14, 75.98, 307.01°)
OKLaboklab(34.96% 0.0402 -0.175)
OKLCHoklch(34.96% 0.18 282.9)
XYZxyz(7.0556, 3.5544, 27.5028)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361992 #759219
analogous
#193892 #361992 #721992
triadic
#361992 #923619 #199236
tetradic
#361992 #921938 #759219 #199272
square
#361992 #921938 #759219 #199272
split-complementary
#361992 #927219 #389219
monochromatic
#0F0729 #23105E #361992 #4922C6 #6B46DF

Accessibility & contrast

On white

12.27
#361992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361992
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361992#FFFFFF#000000##FFFFFF
##3619921.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361992;
/* rgb */ color: rgb(54, 25, 146);
/* oklch */ color: oklch(35.0% 0.180 282.9);
Tailwind
colors: {
  custom: {
    50: '#7a5bb3',
    500: '#361992',
    950: '#000000',
  },
}
SCSS
$custom: #361992;
$custom-light: #7a5bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#361992",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 254.38,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.17953,
    "h": 282.9
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#361992
secondary
#A3C146
accent
#EE3AC3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361992

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

Preview Lab → · Contrast checker → · Palette generator →

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