#361D8F#361D8F

#361D8F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.172 H 283.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#361D8F
RGBrgb(54, 29, 143)
HSLhsl(253, 66%, 34%)
HSVhsv(253, 80%, 56%)
CMYKcmyk(62.2%, 79.7%, 0%, 43.9%)
CIE-LABlab(22.46, 42.96, -58.27)
CIE-LCHlch(22.46, 72.40, 306.40°)
OKLaboklab(35.08% 0.0388 -0.168)
OKLCHoklch(35.08% 0.172 283)
XYZxyz(6.9171, 3.6457, 26.3205)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D8F #768F1D
analogous
#1D3D8F #361D8F #6F1D8F
triadic
#361D8F #8F361D #1D8F36
tetradic
#361D8F #8F1D3D #768F1D #1D8F6F
square
#361D8F #8F1D3D #768F1D #1D8F6F
split-complementary
#361D8F #8F6F1D #3D8F1D
monochromatic
#100829 #23135C #361D8F #4927C2 #6B4CDB

Accessibility & contrast

On white

12.14
#361D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#361D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D8F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D8F#FFFFFF#000000##FFFFFF
##361D8F1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #361d8f;
/* rgb */ color: rgb(54, 29, 143);
/* oklch */ color: oklch(35.1% 0.172 283.0);
Tailwind
colors: {
  custom: {
    50: '#795db1',
    500: '#361d8f',
    950: '#000000',
  },
}
SCSS
$custom: #361d8f;
$custom-light: #795db1;
$custom-dark: #000000;
JSON
{
  "hex": "#361d8f",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 253.158,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35084,
    "c": 0.17246,
    "h": 283
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#361D8F
secondary
#A4BD4B
accent
#E93FC4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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