#361C8B#361C8B

#361C8B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.169 H 284.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#361C8B
RGBrgb(54, 28, 139)
HSLhsl(254, 66%, 33%)
HSVhsv(254, 80%, 55%)
CMYKcmyk(61.2%, 79.9%, 0%, 45.5%)
CIE-LABlab(21.87, 42.25, -56.76)
CIE-LCHlch(21.87, 70.76, 306.66°)
OKLaboklab(34.54% 0.0407 -0.1636)
OKLCHoklch(34.54% 0.169 284)
XYZxyz(6.5953, 3.4784, 24.7450)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C8B #718B1C
analogous
#1C398B #361C8B #6D1C8B
triadic
#361C8B #8B361C #1C8B36
tetradic
#361C8B #8B1C39 #718B1C #1C8B6D
square
#361C8B #8B1C39 #718B1C #1C8B6D
split-complementary
#361C8B #8B6D1C #398B1C
monochromatic
#0E0725 #221258 #361C8B #4A26BE #6A47DA

Accessibility & contrast

On white

12.38
#361C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#361C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C8B
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C8B#FFFFFF#000000##FFFFFF
##361C8B1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361c8b;
/* rgb */ color: rgb(54, 28, 139);
/* oklch */ color: oklch(34.5% 0.169 284.0);
Tailwind
colors: {
  custom: {
    50: '#785cae',
    500: '#361c8b',
    950: '#000000',
  },
}
SCSS
$custom: #361c8b;
$custom-light: #785cae;
$custom-dark: #000000;
JSON
{
  "hex": "#361c8b",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 254.054,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3454,
    "c": 0.1686,
    "h": 284
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#361C8B
secondary
#A0BC47
accent
#E93EC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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