#361E70#361E70

#361E70 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.133 H 290.3°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#361E70
RGBrgb(54, 30, 112)
HSLhsl(258, 58%, 28%)
HSVhsv(258, 73%, 44%)
CMYKcmyk(51.8%, 73.2%, 0%, 56.1%)
CIE-LABlab(19.57, 32.90, -43.38)
CIE-LCHlch(19.57, 54.45, 307.18°)
OKLaboklab(32.11% 0.0461 -0.1245)
OKLCHoklch(32.11% 0.133 290.3)
XYZxyz(4.9094, 2.8825, 15.6238)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E70 #58701E
analogous
#1E2F70 #361E70 #5F1E70
triadic
#361E70 #70361E #1E7036
tetradic
#361E70 #701E2F #58701E #1E705F
square
#361E70 #701E2F #58701E #1E705F
split-complementary
#361E70 #705F1E #2F701E
monochromatic
#0C0618 #1F1140 #361E70 #4D2BA0 #673DCB

Accessibility & contrast

On white

13.32
#361E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#361E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E70
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E70#FFFFFF#000000##FFFFFF
##361E701.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#223344
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361e70;
/* rgb */ color: rgb(54, 30, 112);
/* oklch */ color: oklch(32.1% 0.133 290.3);
Tailwind
colors: {
  custom: {
    50: '#735c9a',
    500: '#361e70',
    950: '#000000',
  },
}
SCSS
$custom: #361e70;
$custom-light: #735c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#361e70",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 257.561,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32106,
    "c": 0.13272,
    "h": 290.3
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#361E70
secondary
#88A446
accent
#E147B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361E70

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

Preview Lab → · Contrast checker → · Palette generator →

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