#361474#361474

#361474 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.149 H 291.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#361474
RGBrgb(54, 20, 116)
HSLhsl(261, 71%, 27%)
HSVhsv(261, 83%, 45%)
CMYKcmyk(53.4%, 82.8%, 0%, 54.5%)
CIE-LABlab(18.12, 39.30, -48.34)
CIE-LCHlch(18.12, 62.30, 309.11°)
OKLaboklab(31.21% 0.0539 -0.1389)
OKLCHoklch(31.21% 0.149 291.2)
XYZxyz(4.9230, 2.5453, 16.7515)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361474 #527414
analogous
#142274 #361474 #661474
triadic
#361474 #743614 #147436
tetradic
#361474 #741422 #527414 #147466
square
#361474 #741422 #527414 #147466
split-complementary
#361474 #746614 #227414
monochromatic
#0C051A #1E0B40 #361474 #4E1DA8 #6728DA

Accessibility & contrast

On white

13.91
#361474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#361474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361474
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361474#FFFFFF#000000##FFFFFF
##3614741.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#203044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #361474;
/* rgb */ color: rgb(54, 20, 116);
/* oklch */ color: oklch(31.2% 0.149 291.2);
Tailwind
colors: {
  custom: {
    50: '#75579d',
    500: '#361474',
    950: '#000000',
  },
}
SCSS
$custom: #361474;
$custom-light: #75579d;
$custom-dark: #000000;
JSON
{
  "hex": "#361474",
  "rgb": {
    "r": 54,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 261.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31208,
    "c": 0.14898,
    "h": 291.2
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#361474
secondary
#82AA3A
accent
#ED3AAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361474

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

Preview Lab → · Contrast checker → · Palette generator →

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