#361271#361271

#361271 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.147 H 292.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#361271
RGBrgb(54, 18, 113)
HSLhsl(263, 73%, 26%)
HSVhsv(263, 84%, 44%)
CMYKcmyk(52.2%, 84.1%, 0%, 55.7%)
CIE-LABlab(17.50, 39.34, -47.42)
CIE-LCHlch(17.50, 61.61, 309.68°)
OKLaboklab(30.68% 0.0564 -0.1362)
OKLCHoklch(30.68% 0.147 292.5)
XYZxyz(4.7174, 2.4090, 15.8360)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361271 #4D7112
analogous
#121D71 #361271 #651271
triadic
#361271 #713612 #127136
tetradic
#361271 #71121D #4D7112 #127165
square
#361271 #71121D #4D7112 #127165
split-complementary
#361271 #716512 #1D7112
monochromatic
#0D041A #1D0A3C #361271 #4F1AA6 #6823DB

Accessibility & contrast

On white

14.17
#361271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361271
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361271#FFFFFF#000000##FFFFFF
##3612711.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361271;
/* rgb */ color: rgb(54, 18, 113);
/* oklch */ color: oklch(30.7% 0.147 292.5);
Tailwind
colors: {
  custom: {
    50: '#75559b',
    500: '#361271',
    950: '#000000',
  },
}
SCSS
$custom: #361271;
$custom-light: #75559b;
$custom-dark: #000000;
JSON
{
  "hex": "#361271",
  "rgb": {
    "r": 54,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 262.737,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30683,
    "c": 0.14741,
    "h": 292.5
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#361271
secondary
#7DA837
accent
#EF39AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361271

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

Preview Lab → · Contrast checker → · Palette generator →

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