#361871#361871

#361871 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.141 H 291.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#361871
RGBrgb(54, 24, 113)
HSLhsl(260, 65%, 27%)
HSVhsv(260, 79%, 44%)
CMYKcmyk(52.2%, 78.8%, 0%, 55.7%)
CIE-LABlab(18.49, 36.49, -45.79)
CIE-LCHlch(18.49, 58.54, 308.55°)
OKLaboklab(31.38% 0.0515 -0.1315)
OKLCHoklch(31.38% 0.141 291.4)
XYZxyz(4.8277, 2.6296, 15.8728)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361871 #537118
analogous
#182671 #361871 #631871
triadic
#361871 #713618 #187136
tetradic
#361871 #711826 #537118 #187163
square
#361871 #711826 #537118 #187163
split-complementary
#361871 #716318 #267118
monochromatic
#0C0519 #1E0D3F #361871 #4E23A3 #6730D3

Accessibility & contrast

On white

13.76
#361871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361871
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361871#FFFFFF#000000##FFFFFF
##3618711.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#223043
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #361871;
/* rgb */ color: rgb(54, 24, 113);
/* oklch */ color: oklch(31.4% 0.141 291.4);
Tailwind
colors: {
  custom: {
    50: '#74589b',
    500: '#361871',
    950: '#000000',
  },
}
SCSS
$custom: #361871;
$custom-light: #74589b;
$custom-dark: #000000;
JSON
{
  "hex": "#361871",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 260.225,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31376,
    "c": 0.14121,
    "h": 291.4
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#361871
secondary
#83A63E
accent
#E840AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361871

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

Preview Lab → · Contrast checker → · Palette generator →

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