#361E8A#361E8A

#361E8A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.165 H 283.9°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#361E8A
RGBrgb(54, 30, 138)
HSLhsl(253, 64%, 33%)
HSVhsv(253, 78%, 54%)
CMYKcmyk(60.9%, 78.3%, 0%, 45.9%)
CIE-LABlab(22.11, 40.93, -55.73)
CIE-LCHlch(22.11, 69.14, 306.29°)
OKLaboklab(34.68% 0.0396 -0.1606)
OKLCHoklch(34.68% 0.165 283.9)
XYZxyz(6.5716, 3.5474, 24.3782)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E8A #728A1E
analogous
#1E3C8A #361E8A #6C1E8A
triadic
#361E8A #8A361E #1E8A36
tetradic
#361E8A #8A1E3C #728A1E #1E8A6C
square
#361E8A #8A1E3C #728A1E #1E8A6C
split-complementary
#361E8A #8A6C1E #3C8A1E
monochromatic
#0F0825 #221358 #361E8A #4A29BC #6A4BD8

Accessibility & contrast

On white

12.28
#361E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#361E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E8A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E8A#FFFFFF#000000##FFFFFF
##361E8A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361e8a;
/* rgb */ color: rgb(54, 30, 138);
/* oklch */ color: oklch(34.7% 0.165 283.9);
Tailwind
colors: {
  custom: {
    50: '#785dad',
    500: '#361e8a',
    950: '#000000',
  },
}
SCSS
$custom: #361e8a;
$custom-light: #785dad;
$custom-dark: #000000;
JSON
{
  "hex": "#361e8a",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 253.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34683,
    "c": 0.16543,
    "h": 283.9
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#361E8A
secondary
#A1BA4A
accent
#E741C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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