#361C88#361C88

#361C88 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.165 H 284.6°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#361C88
RGBrgb(54, 28, 136)
HSLhsl(254, 66%, 32%)
HSVhsv(254, 79%, 53%)
CMYKcmyk(60.3%, 79.4%, 0%, 46.7%)
CIE-LABlab(21.55, 41.34, -55.41)
CIE-LCHlch(21.55, 69.13, 306.73°)
OKLaboklab(34.23% 0.0416 -0.1597)
OKLCHoklch(34.23% 0.165 284.6)
XYZxyz(6.3792, 3.3919, 23.6063)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C88 #6E881C
analogous
#1C3888 #361C88 #6C1C88
triadic
#361C88 #88361C #1C8836
tetradic
#361C88 #881C38 #6E881C #1C886C
square
#361C88 #881C38 #6E881C #1C886C
split-complementary
#361C88 #886C1C #38881C
monochromatic
#0E0722 #221255 #361C88 #4A26BB #6946D9

Accessibility & contrast

On white

12.51
#361C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#361C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C88
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C88#FFFFFF#000000##FFFFFF
##361C881.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#053B51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361c88;
/* rgb */ color: rgb(54, 28, 136);
/* oklch */ color: oklch(34.2% 0.165 284.6);
Tailwind
colors: {
  custom: {
    50: '#785cac',
    500: '#361c88',
    950: '#000000',
  },
}
SCSS
$custom: #361c88;
$custom-light: #785cac;
$custom-dark: #000000;
JSON
{
  "hex": "#361c88",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 254.444,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34225,
    "c": 0.16499,
    "h": 284.6
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#361C88
secondary
#9EBA45
accent
#E93FC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361C88

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

Preview Lab → · Contrast checker → · Palette generator →

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