#361971#361971

#361971 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.140 H 291.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#361971
RGBrgb(54, 25, 113)
HSLhsl(260, 64%, 27%)
HSVhsv(260, 78%, 44%)
CMYKcmyk(52.2%, 77.9%, 0%, 55.7%)
CIE-LABlab(18.68, 35.97, -45.49)
CIE-LCHlch(18.68, 57.99, 308.33°)
OKLaboklab(31.5% 0.0507 -0.1306)
OKLCHoklch(31.5% 0.14 291.2)
XYZxyz(4.8487, 2.6716, 15.8798)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361971 #547119
analogous
#192871 #361971 #621971
triadic
#361971 #713619 #197136
tetradic
#361971 #711928 #547119 #197162
square
#361971 #711928 #547119 #197162
split-complementary
#361971 #716219 #287119
monochromatic
#0C0619 #1E0E3F #361971 #4E24A3 #6733D2

Accessibility & contrast

On white

13.69
#361971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#361971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361971
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361971#FFFFFF#000000##FFFFFF
##3619711.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#223144
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #361971;
/* rgb */ color: rgb(54, 25, 113);
/* oklch */ color: oklch(31.5% 0.140 291.2);
Tailwind
colors: {
  custom: {
    50: '#74599b',
    500: '#361971',
    950: '#000000',
  },
}
SCSS
$custom: #361971;
$custom-light: #74599b;
$custom-dark: #000000;
JSON
{
  "hex": "#361971",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 259.773,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31504,
    "c": 0.14008,
    "h": 291.2
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#361971
secondary
#84A640
accent
#E741B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361971

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

Preview Lab → · Contrast checker → · Palette generator →

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