#361776#361776

#361776 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.148 H 290.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#361776
RGBrgb(54, 23, 118)
HSLhsl(260, 67%, 28%)
HSVhsv(260, 81%, 46%)
CMYKcmyk(54.2%, 80.5%, 0%, 53.7%)
CIE-LABlab(18.82, 38.46, -48.48)
CIE-LCHlch(18.82, 61.88, 308.43°)
OKLaboklab(31.76% 0.0509 -0.1393)
OKLCHoklch(31.76% 0.148 290.1)
XYZxyz(5.0968, 2.7048, 17.3896)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361776 #577617
analogous
#172776 #361776 #651776
triadic
#361776 #763617 #177636
tetradic
#361776 #761727 #577617 #177665
square
#361776 #761727 #577617 #177665
split-complementary
#361776 #766517 #277617
monochromatic
#0C051A #1F0D43 #361776 #4D21A9 #6731D7

Accessibility & contrast

On white

13.63
#361776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#361776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361776
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361776#FFFFFF#000000##FFFFFF
##3617761.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#1E3246
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361776;
/* rgb */ color: rgb(54, 23, 118);
/* oklch */ color: oklch(31.8% 0.148 290.1);
Tailwind
colors: {
  custom: {
    50: '#75589e',
    500: '#361776',
    950: '#000000',
  },
}
SCSS
$custom: #361776;
$custom-light: #75589e;
$custom-dark: #000000;
JSON
{
  "hex": "#361776",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 259.579,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.14834,
    "h": 290.1
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#361776
secondary
#87AB3E
accent
#EA3EB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #361776

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

Preview Lab → · Contrast checker → · Palette generator →

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