#361171#361171

#361171 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.148 H 292.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#361171
RGBrgb(54, 17, 113)
HSLhsl(263, 74%, 25%)
HSVhsv(263, 85%, 44%)
CMYKcmyk(52.2%, 85%, 0%, 55.7%)
CIE-LABlab(17.35, 39.77, -47.66)
CIE-LCHlch(17.35, 62.08, 309.85°)
OKLaboklab(30.58% 0.0571 -0.1369)
OKLCHoklch(30.58% 0.148 292.7)
XYZxyz(4.7016, 2.3773, 15.8307)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361171 #4C7111
analogous
#111C71 #361171 #661171
triadic
#361171 #713611 #117136
tetradic
#361171 #71111C #4C7111 #117166
square
#361171 #71111C #4C7111 #117166
split-complementary
#361171 #716611 #1C7111
monochromatic
#0D041B #1D093C #361171 #4F19A6 #6921DB

Accessibility & contrast

On white

14.23
#361171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#361171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361171
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361171#FFFFFF#000000##FFFFFF
##3611711.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#222D42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #361171;
/* rgb */ color: rgb(54, 17, 113);
/* oklch */ color: oklch(30.6% 0.148 292.7);
Tailwind
colors: {
  custom: {
    50: '#75559b',
    500: '#361171',
    950: '#000000',
  },
}
SCSS
$custom: #361171;
$custom-light: #75559b;
$custom-dark: #000000;
JSON
{
  "hex": "#361171",
  "rgb": {
    "r": 54,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 263.125,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30581,
    "c": 0.14833,
    "h": 292.7
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#361171
secondary
#7CA836
accent
#F137A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361171

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

Preview Lab → · Contrast checker → · Palette generator →

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