#361771#361771

#361771 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.142 H 291.6°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#361771
RGBrgb(54, 23, 113)
HSLhsl(261, 66%, 27%)
HSVhsv(261, 80%, 44%)
CMYKcmyk(52.2%, 79.6%, 0%, 55.7%)
CIE-LABlab(18.32, 36.99, -46.08)
CIE-LCHlch(18.32, 59.09, 308.76°)
OKLaboklab(31.25% 0.0524 -0.1323)
OKLCHoklch(31.25% 0.142 291.6)
XYZxyz(4.8075, 2.5891, 15.8660)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361771 #527117
analogous
#172571 #361771 #631771
triadic
#361771 #713617 #177136
tetradic
#361771 #711725 #527117 #177163
square
#361771 #711725 #527117 #177163
split-complementary
#361771 #716317 #257117
monochromatic
#0C0519 #1E0D3E #361771 #4E21A4 #672ED4

Accessibility & contrast

On white

13.84
#361771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#361771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361771
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361771#FFFFFF#000000##FFFFFF
##3617711.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.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: #361771;
/* rgb */ color: rgb(54, 23, 113);
/* oklch */ color: oklch(31.3% 0.142 291.6);
Tailwind
colors: {
  custom: {
    50: '#74589b',
    500: '#361771',
    950: '#000000',
  },
}
SCSS
$custom: #361771;
$custom-light: #74589b;
$custom-dark: #000000;
JSON
{
  "hex": "#361771",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 260.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31251,
    "c": 0.14232,
    "h": 291.6
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

primary
#361771
secondary
#82A73D
accent
#E93FAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361771

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

Preview Lab → · Contrast checker → · Palette generator →

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