#361571#361571

#361571 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.144 H 292.0°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#361571
RGBrgb(54, 21, 113)
HSLhsl(262, 69%, 26%)
HSVhsv(262, 81%, 44%)
CMYKcmyk(52.2%, 81.4%, 0%, 55.7%)
CIE-LABlab(17.98, 37.97, -46.64)
CIE-LCHlch(17.98, 60.14, 309.15°)
OKLaboklab(31.01% 0.0541 -0.1339)
OKLCHoklch(31.01% 0.144 292)
XYZxyz(4.7693, 2.5127, 15.8533)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361571 #507115
analogous
#152271 #361571 #641571
triadic
#361571 #713615 #157136
tetradic
#361571 #711522 #507115 #157164
square
#361571 #711522 #507115 #157164
split-complementary
#361571 #716415 #227115
monochromatic
#0C051A #1D0B3D #361571 #4F1FA5 #6829D7

Accessibility & contrast

On white

13.98
#361571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#361571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361571
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361571#FFFFFF#000000##FFFFFF
##3615711.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#222F43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #361571;
/* rgb */ color: rgb(54, 21, 113);
/* oklch */ color: oklch(31.0% 0.144 292.0);
Tailwind
colors: {
  custom: {
    50: '#74579b',
    500: '#361571',
    950: '#000000',
  },
}
SCSS
$custom: #361571;
$custom-light: #74579b;
$custom-dark: #000000;
JSON
{
  "hex": "#361571",
  "rgb": {
    "r": 54,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 261.522,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31013,
    "c": 0.14445,
    "h": 292
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#361571
secondary
#80A73B
accent
#EB3CAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361571

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

Preview Lab → · Contrast checker → · Palette generator →

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