#361A74#361A74

#361A74 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.143 H 290.1°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#361A74
RGBrgb(54, 26, 116)
HSLhsl(259, 63%, 28%)
HSVhsv(259, 78%, 45%)
CMYKcmyk(53.4%, 77.6%, 0%, 54.5%)
CIE-LABlab(19.16, 36.34, -46.64)
CIE-LCHlch(19.16, 59.12, 307.92°)
OKLaboklab(31.93% 0.0489 -0.134)
OKLCHoklch(31.93% 0.143 290.1)
XYZxyz(5.0422, 2.7838, 16.7913)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A74 #58741A
analogous
#1A2B74 #361A74 #631A74
triadic
#361A74 #74361A #1A7436
tetradic
#361A74 #741A2B #58741A #1A7463
square
#361A74 #741A2B #58741A #1A7463
split-complementary
#361A74 #74631A #2B741A
monochromatic
#0C0619 #1F0F42 #361A74 #4D25A6 #6736D2

Accessibility & contrast

On white

13.49
#361A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#361A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A74
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A74#FFFFFF#000000##FFFFFF
##361A741.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#203346
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361a74;
/* rgb */ color: rgb(54, 26, 116);
/* oklch */ color: oklch(31.9% 0.143 290.1);
Tailwind
colors: {
  custom: {
    50: '#745a9d',
    500: '#361a74',
    950: '#000000',
  },
}
SCSS
$custom: #361a74;
$custom-light: #745a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#361a74",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 258.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.14264,
    "h": 290.1
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#361A74
secondary
#88A941
accent
#E641B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361A74

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

Preview Lab → · Contrast checker → · Palette generator →

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