#361C8C#361C8C

#361C8C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.170 H 283.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#361C8C
RGBrgb(54, 28, 140)
HSLhsl(254, 67%, 33%)
HSVhsv(254, 80%, 55%)
CMYKcmyk(61.4%, 80%, 0%, 45.1%)
CIE-LABlab(21.97, 42.55, -57.21)
CIE-LCHlch(21.97, 71.30, 306.64°)
OKLaboklab(34.65% 0.0404 -0.1649)
OKLCHoklch(34.65% 0.17 283.8)
XYZxyz(6.6687, 3.5078, 25.1315)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C8C #728C1C
analogous
#1C3A8C #361C8C #6E1C8C
triadic
#361C8C #8C361C #1C8C36
tetradic
#361C8C #8C1C3A #728C1C #1C8C6E
square
#361C8C #8C1C3A #728C1C #1C8C6E
split-complementary
#361C8C #8C6E1C #3A8C1C
monochromatic
#0F0826 #221259 #361C8C #4A26BF #6A48DA

Accessibility & contrast

On white

12.34
#361C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361C8C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C8C#FFFFFF#000000##FFFFFF
##361C8C1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361c8c;
/* rgb */ color: rgb(54, 28, 140);
/* oklch */ color: oklch(34.6% 0.170 283.8);
Tailwind
colors: {
  custom: {
    50: '#795caf',
    500: '#361c8c',
    950: '#000000',
  },
}
SCSS
$custom: #361c8c;
$custom-light: #795caf;
$custom-dark: #000000;
JSON
{
  "hex": "#361c8c",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 253.929,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34646,
    "c": 0.1698,
    "h": 283.8
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#361C8C
secondary
#A1BC48
accent
#EA3EC2
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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