#361B7A#361B7A

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

Color values

HEX#361B7A
RGBrgb(54, 27, 122)
HSLhsl(257, 64%, 29%)
HSVhsv(257, 78%, 48%)
CMYKcmyk(55.7%, 77.9%, 0%, 52.2%)
CIE-LABlab(19.94, 37.62, -49.21)
CIE-LCHlch(19.94, 61.94, 307.40°)
OKLaboklab(32.66% 0.0464 -0.1415)
OKLCHoklch(32.66% 0.149 288.2)
XYZxyz(5.4251, 2.9730, 18.6966)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B7A #5F7A1B
analogous
#1B307A #361B7A #661B7A
triadic
#361B7A #7A361B #1B7A36
tetradic
#361B7A #7A1B30 #5F7A1B #1B7A66
square
#361B7A #7A1B30 #5F7A1B #1B7A66
split-complementary
#361B7A #7A661B #307A1B
monochromatic
#0B0619 #201048 #361B7A #4C26AC #673CD4

Accessibility & contrast

On white

13.17
#361B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#361B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B7A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B7A#FFFFFF#000000##FFFFFF
##361B7A1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#1B3549
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361b7a;
/* rgb */ color: rgb(54, 27, 122);
/* oklch */ color: oklch(32.7% 0.149 288.2);
Tailwind
colors: {
  custom: {
    50: '#755ba1',
    500: '#361b7a',
    950: '#000000',
  },
}
SCSS
$custom: #361b7a;
$custom-light: #755ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#361b7a",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 257.053,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3266,
    "c": 0.14893,
    "h": 288.2
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#361B7A
secondary
#90AE43
accent
#E741B8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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