#361C74#361C74

#361C74 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.140 H 289.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#361C74
RGBrgb(54, 28, 116)
HSLhsl(258, 61%, 28%)
HSVhsv(258, 76%, 45%)
CMYKcmyk(53.4%, 75.9%, 0%, 54.5%)
CIE-LABlab(19.54, 35.26, -46.01)
CIE-LCHlch(19.54, 57.97, 307.46°)
OKLaboklab(32.2% 0.0471 -0.1322)
OKLCHoklch(32.2% 0.14 289.6)
XYZxyz(5.0880, 2.8755, 16.8065)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C74 #5A741C
analogous
#1C2E74 #361C74 #621C74
triadic
#361C74 #74361C #1C7436
tetradic
#361C74 #741C2E #5A741C #1C7462
square
#361C74 #741C2E #5A741C #1C7462
split-complementary
#361C74 #74621C #2E741C
monochromatic
#0B0619 #1F1043 #361C74 #4D28A5 #673BD0

Accessibility & contrast

On white

13.33
#361C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#361C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C74
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C74#FFFFFF#000000##FFFFFF
##361C741.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#203346
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361c74;
/* rgb */ color: rgb(54, 28, 116);
/* oklch */ color: oklch(32.2% 0.140 289.6);
Tailwind
colors: {
  custom: {
    50: '#745b9d',
    500: '#361c74',
    950: '#000000',
  },
}
SCSS
$custom: #361c74;
$custom-light: #745b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#361c74",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 257.727,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.14031,
    "h": 289.6
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#361C74
secondary
#8BA843
accent
#E444B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361C74

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

Preview Lab → · Contrast checker → · Palette generator →

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