#361C8F#361C8F

#361C8F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.173 H 283.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#361C8F
RGBrgb(54, 28, 143)
HSLhsl(254, 67%, 34%)
HSVhsv(254, 80%, 56%)
CMYKcmyk(62.2%, 80.4%, 0%, 43.9%)
CIE-LABlab(22.29, 43.45, -58.55)
CIE-LCHlch(22.29, 72.91, 306.58°)
OKLaboklab(34.97% 0.0395 -0.1688)
OKLCHoklch(34.97% 0.173 283.2)
XYZxyz(6.8930, 3.5975, 26.3124)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C8F #758F1C
analogous
#1C3B8F #361C8F #6F1C8F
triadic
#361C8F #8F361C #1C8F36
tetradic
#361C8F #8F1C3B #758F1C #1C8F6F
square
#361C8F #8F1C3B #758F1C #1C8F6F
split-complementary
#361C8F #8F6F1C #3B8F1C
monochromatic
#0F0829 #23125C #361C8F #4926C2 #6B4ADC

Accessibility & contrast

On white

12.21
#361C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#361C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361C8F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C8F#FFFFFF#000000##FFFFFF
##361C8F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361c8f;
/* rgb */ color: rgb(54, 28, 143);
/* oklch */ color: oklch(35.0% 0.173 283.2);
Tailwind
colors: {
  custom: {
    50: '#795cb1',
    500: '#361c8f',
    950: '#000000',
  },
}
SCSS
$custom: #361c8f;
$custom-light: #795cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#361c8f",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 253.565,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.17338,
    "h": 283.2
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#361C8F
secondary
#A3BE49
accent
#EA3EC3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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