#361B70#361B70

#361B70 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.136 H 291.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#361B70
RGBrgb(54, 27, 112)
HSLhsl(259, 61%, 27%)
HSVhsv(259, 76%, 44%)
CMYKcmyk(51.8%, 75.9%, 0%, 56.1%)
CIE-LABlab(18.96, 34.59, -44.37)
CIE-LCHlch(18.96, 56.26, 307.94°)
OKLaboklab(31.68% 0.049 -0.1273)
OKLCHoklch(31.68% 0.136 291.1)
XYZxyz(4.8371, 2.7378, 15.5997)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B70 #55701B
analogous
#1B2A70 #361B70 #611B70
triadic
#361B70 #70361B #1B7036
tetradic
#361B70 #701B2A #55701B #1B7061
square
#361B70 #701B2A #55701B #1B7061
split-complementary
#361B70 #70611B #2A701B
monochromatic
#0C0619 #1E0F3F #361B70 #4E27A1 #6737CF

Accessibility & contrast

On white

13.57
#361B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#361B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B70
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B70#FFFFFF#000000##FFFFFF
##361B701.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#233144
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361b70;
/* rgb */ color: rgb(54, 27, 112);
/* oklch */ color: oklch(31.7% 0.136 291.1);
Tailwind
colors: {
  custom: {
    50: '#745a9a',
    500: '#361b70',
    950: '#000000',
  },
}
SCSS
$custom: #361b70;
$custom-light: #745a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#361b70",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 259.059,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.13647,
    "h": 291.1
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#361B70
secondary
#85A542
accent
#E444B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361B70

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

Preview Lab → · Contrast checker → · Palette generator →

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