#361A7C#361A7C

#361A7C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.152 H 287.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#361A7C
RGBrgb(54, 26, 124)
HSLhsl(257, 65%, 29%)
HSVhsv(257, 79%, 49%)
CMYKcmyk(56.5%, 79%, 0%, 51.4%)
CIE-LABlab(19.96, 38.74, -50.45)
CIE-LCHlch(19.96, 63.61, 307.52°)
OKLaboklab(32.74% 0.0467 -0.1451)
OKLCHoklch(32.74% 0.152 287.8)
XYZxyz(5.5277, 2.9780, 19.3484)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A7C #607C1A
analogous
#1A2F7C #361A7C #671A7C
triadic
#361A7C #7C361A #1A7C36
tetradic
#361A7C #7C1A2F #607C1A #1A7C67
square
#361A7C #7C1A2F #607C1A #1A7C67
split-complementary
#361A7C #7C671A #2F7C1A
monochromatic
#0B0519 #200F49 #361A7C #4C25AF #673BD6

Accessibility & contrast

On white

13.16
#361A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#361A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361A7C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A7C#FFFFFF#000000##FFFFFF
##361A7C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#19364A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361a7c;
/* rgb */ color: rgb(54, 26, 124);
/* oklch */ color: oklch(32.7% 0.152 287.8);
Tailwind
colors: {
  custom: {
    50: '#765aa3',
    500: '#361a7c',
    950: '#000000',
  },
}
SCSS
$custom: #361a7c;
$custom-light: #765aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#361a7c",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 257.143,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32736,
    "c": 0.15246,
    "h": 287.8
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#361A7C
secondary
#91B042
accent
#E840B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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