#361E6B#361E6B

#361E6B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.6% C 0.126 H 291.9°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#361E6B
RGBrgb(54, 30, 107)
HSLhsl(259, 56%, 27%)
HSVhsv(259, 72%, 42%)
CMYKcmyk(49.5%, 72%, 0%, 58%)
CIE-LABlab(19.12, 31.36, -40.87)
CIE-LCHlch(19.12, 51.52, 307.50°)
OKLaboklab(31.64% 0.047 -0.1171)
OKLCHoklch(31.64% 0.126 291.9)
XYZxyz(4.6387, 2.7742, 14.1981)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E6B #536B1E
analogous
#1E2D6B #361E6B #5D1E6B
triadic
#361E6B #6B361E #1E6B36
tetradic
#361E6B #6B1E2D #536B1E #1E6B5D
square
#361E6B #6B1E2D #536B1E #1E6B5D
split-complementary
#361E6B #6B5D1E #2D6B1E
monochromatic
#0C0718 #1E113B #361E6B #4E2B9B #673BC8

Accessibility & contrast

On white

13.51
#361E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361E6B
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E6B#FFFFFF#000000##FFFFFF
##361E6B1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#263142
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361e6b;
/* rgb */ color: rgb(54, 30, 107);
/* oklch */ color: oklch(31.6% 0.126 291.9);
Tailwind
colors: {
  custom: {
    50: '#735c96',
    500: '#361e6b',
    950: '#000000',
  },
}
SCSS
$custom: #361e6b;
$custom-light: #735c96;
$custom-dark: #000000;
JSON
{
  "hex": "#361e6b",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 258.701,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31643,
    "c": 0.12618,
    "h": 291.9
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#361E6B
secondary
#839F45
accent
#DF48B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #361E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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