#361F75#361F75

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

Color values

HEX#361F75
RGBrgb(54, 31, 117)
HSLhsl(256, 58%, 29%)
HSVhsv(256, 74%, 46%)
CMYKcmyk(53.8%, 73.5%, 0%, 54.1%)
CIE-LABlab(20.24, 33.88, -45.51)
CIE-LCHlch(20.24, 56.74, 306.66°)
OKLaboklab(32.73% 0.0441 -0.1307)
OKLCHoklch(32.73% 0.138 288.6)
XYZxyz(5.2213, 3.0484, 17.1394)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361F75 #5E751F
analogous
#1F3375 #361F75 #611F75
triadic
#361F75 #75361F #1F7536
tetradic
#361F75 #751F33 #5E751F #1F7561
square
#361F75 #751F33 #5E751F #1F7561
split-complementary
#361F75 #75611F #33751F
monochromatic
#0B0618 #201245 #361F75 #4C2CA5 #6742CD

Accessibility & contrast

On white

13.05
#361F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361F75
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361F75#FFFFFF#000000##FFFFFF
##361F751.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#1F3547
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361f75;
/* rgb */ color: rgb(54, 31, 117);
/* oklch */ color: oklch(32.7% 0.138 288.6);
Tailwind
colors: {
  custom: {
    50: '#745d9e',
    500: '#361f75',
    950: '#000000',
  },
}
SCSS
$custom: #361f75;
$custom-light: #745d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#361f75",
  "rgb": {
    "r": 54,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 256.047,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32726,
    "c": 0.13793,
    "h": 288.6
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#361F75
secondary
#8FA947
accent
#E146B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361F75

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

Preview Lab → · Contrast checker → · Palette generator →

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