#361A8C#361A8C

#361A8C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.172 H 284.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#361A8C
RGBrgb(54, 26, 140)
HSLhsl(255, 69%, 33%)
HSVhsv(255, 81%, 55%)
CMYKcmyk(61.4%, 81.4%, 0%, 45.1%)
CIE-LABlab(21.64, 43.51, -57.76)
CIE-LCHlch(21.64, 72.32, 306.99°)
OKLaboklab(34.41% 0.0417 -0.1665)
OKLCHoklch(34.41% 0.172 284)
XYZxyz(6.6229, 3.4161, 25.1162)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A8C #708C1A
analogous
#1A378C #361A8C #6F1A8C
triadic
#361A8C #8C361A #1A8C36
tetradic
#361A8C #8C1A37 #708C1A #1A8C6F
square
#361A8C #8C1A37 #708C1A #1A8C6F
split-complementary
#361A8C #8C6F1A #378C1A
monochromatic
#0E0725 #221058 #361A8C #4A24C0 #6944DC

Accessibility & contrast

On white

12.47
#361A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361A8C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A8C#FFFFFF#000000##FFFFFF
##361A8C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361a8c;
/* rgb */ color: rgb(54, 26, 140);
/* oklch */ color: oklch(34.4% 0.172 284.0);
Tailwind
colors: {
  custom: {
    50: '#795baf',
    500: '#361a8c',
    950: '#000000',
  },
}
SCSS
$custom: #361a8c;
$custom-light: #795baf;
$custom-dark: #000000;
JSON
{
  "hex": "#361a8c",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 140
  },
  "hsl": {
    "h": 254.737,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34414,
    "c": 0.17164,
    "h": 284
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#361A8C
secondary
#A0BE44
accent
#EC3CC0
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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