#361C8A#361C8A

#361C8A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.167 H 284.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#361C8A
RGBrgb(54, 28, 138)
HSLhsl(254, 66%, 33%)
HSVhsv(254, 80%, 54%)
CMYKcmyk(60.9%, 79.7%, 0%, 45.9%)
CIE-LABlab(21.76, 41.95, -56.31)
CIE-LCHlch(21.76, 70.22, 306.68°)
OKLaboklab(34.44% 0.041 -0.1623)
OKLCHoklch(34.44% 0.167 284.2)
XYZxyz(6.5226, 3.4493, 24.3619)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C8A #708A1C
analogous
#1C398A #361C8A #6D1C8A
triadic
#361C8A #8A361C #1C8A36
tetradic
#361C8A #8A1C39 #708A1C #1C8A6D
square
#361C8A #8A1C39 #708A1C #1C8A6D
split-complementary
#361C8A #8A6D1C #398A1C
monochromatic
#0E0724 #221257 #361C8A #4A26BD #6947DA

Accessibility & contrast

On white

12.43
#361C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#361C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C8A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C8A#FFFFFF#000000##FFFFFF
##361C8A1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361c8a;
/* rgb */ color: rgb(54, 28, 138);
/* oklch */ color: oklch(34.4% 0.167 284.2);
Tailwind
colors: {
  custom: {
    50: '#785cad',
    500: '#361c8a',
    950: '#000000',
  },
}
SCSS
$custom: #361c8a;
$custom-light: #785cad;
$custom-dark: #000000;
JSON
{
  "hex": "#361c8a",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 254.182,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34435,
    "c": 0.1674,
    "h": 284.2
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#361C8A
secondary
#A0BB46
accent
#E93FC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#361C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva