#361990#361990

#361990 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.177 H 283.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#361990
RGBrgb(54, 25, 144)
HSLhsl(255, 70%, 33%)
HSVhsv(255, 83%, 56%)
CMYKcmyk(62.5%, 82.6%, 0%, 43.5%)
CIE-LABlab(21.92, 45.16, -59.79)
CIE-LCHlch(21.92, 74.93, 307.06°)
OKLaboklab(34.74% 0.0409 -0.1724)
OKLCHoklch(34.74% 0.177 283.4)
XYZxyz(6.9014, 3.4927, 26.6906)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361990 #739019
analogous
#193790 #361990 #711990
triadic
#361990 #903619 #199036
tetradic
#361990 #901937 #739019 #199071
square
#361990 #901937 #739019 #199071
split-complementary
#361990 #907119 #379019
monochromatic
#0F0728 #22105C #361990 #4A22C4 #6A45DF

Accessibility & contrast

On white

12.36
#361990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#361990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361990
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361990#FFFFFF#000000##FFFFFF
##3619901.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361990;
/* rgb */ color: rgb(54, 25, 144);
/* oklch */ color: oklch(34.7% 0.177 283.4);
Tailwind
colors: {
  custom: {
    50: '#7a5bb2',
    500: '#361990',
    950: '#000000',
  },
}
SCSS
$custom: #361990;
$custom-light: #7a5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#361990",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 254.622,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34738,
    "c": 0.17721,
    "h": 283.4
  },
  "luminance": 0.03493
}

Semantic roles & 50–950 ramp

primary
#361990
secondary
#A2C045
accent
#ED3BC2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361990

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

Preview Lab → · Contrast checker → · Palette generator →

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