#361B7C#361B7C

#361B7C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.151 H 287.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#361B7C
RGBrgb(54, 27, 124)
HSLhsl(257, 64%, 30%)
HSVhsv(257, 78%, 49%)
CMYKcmyk(56.5%, 78.2%, 0%, 51.4%)
CIE-LABlab(20.14, 38.22, -50.15)
CIE-LCHlch(20.14, 63.06, 307.31°)
OKLaboklab(32.86% 0.0459 -0.1443)
OKLCHoklch(32.86% 0.151 287.6)
XYZxyz(5.5503, 3.0231, 19.3559)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B7C #617C1B
analogous
#1B317C #361B7C #671B7C
triadic
#361B7C #7C361B #1B7C36
tetradic
#361B7C #7C1B31 #617C1B #1B7C67
square
#361B7C #7C1B31 #617C1B #1B7C67
split-complementary
#361B7C #7C671B #317C1B
monochromatic
#0B0519 #20104A #361B7C #4C26AE #673DD5

Accessibility & contrast

On white

13.09
#361B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B7C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B7C#FFFFFF#000000##FFFFFF
##361B7C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361b7c;
/* rgb */ color: rgb(54, 27, 124);
/* oklch */ color: oklch(32.9% 0.151 287.6);
Tailwind
colors: {
  custom: {
    50: '#765ba3',
    500: '#361b7c',
    950: '#000000',
  },
}
SCSS
$custom: #361b7c;
$custom-light: #765ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#361b7c",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 256.701,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.1514,
    "h": 287.6
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#361B7C
secondary
#92B043
accent
#E741B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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