#361772#361772

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

Color values

HEX#361772
RGBrgb(54, 23, 114)
HSLhsl(260, 66%, 27%)
HSVhsv(260, 80%, 45%)
CMYKcmyk(52.6%, 79.8%, 0%, 55.3%)
CIE-LABlab(18.42, 37.29, -46.56)
CIE-LCHlch(18.42, 59.65, 308.69°)
OKLaboklab(31.35% 0.0521 -0.1337)
OKLCHoklch(31.35% 0.144 291.3)
XYZxyz(4.8641, 2.6118, 16.1642)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361772 #537217
analogous
#172572 #361772 #641772
triadic
#361772 #723617 #177236
tetradic
#361772 #721725 #537217 #177264
square
#361772 #721725 #537217 #177264
split-complementary
#361772 #726417 #257217
monochromatic
#0C0519 #1E0D3F #361772 #4E21A5 #672ED5

Accessibility & contrast

On white

13.79
#361772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361772
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361772#FFFFFF#000000##FFFFFF
##3617721.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#213044
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #361772;
/* rgb */ color: rgb(54, 23, 114);
/* oklch */ color: oklch(31.4% 0.144 291.3);
Tailwind
colors: {
  custom: {
    50: '#74589b',
    500: '#361772',
    950: '#000000',
  },
}
SCSS
$custom: #361772;
$custom-light: #74589b;
$custom-dark: #000000;
JSON
{
  "hex": "#361772",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 260.44,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31352,
    "c": 0.14352,
    "h": 291.3
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#361772
secondary
#83A83D
accent
#E93EAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361772

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

Preview Lab → · Contrast checker → · Palette generator →

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