#361B75#361B75

#361B75 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.143 H 289.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#361B75
RGBrgb(54, 27, 117)
HSLhsl(258, 63%, 28%)
HSVhsv(258, 77%, 46%)
CMYKcmyk(53.8%, 76.9%, 0%, 54.1%)
CIE-LABlab(19.44, 36.10, -46.81)
CIE-LCHlch(19.44, 59.12, 307.64°)
OKLaboklab(32.16% 0.0478 -0.1345)
OKLCHoklch(32.16% 0.143 289.6)
XYZxyz(5.1232, 2.8523, 17.1068)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B75 #5A751B
analogous
#1B2D75 #361B75 #631B75
triadic
#361B75 #75361B #1B7536
tetradic
#361B75 #751B2D #5A751B #1B7563
square
#361B75 #751B2D #5A751B #1B7563
split-complementary
#361B75 #75631B #2D751B
monochromatic
#0B0619 #1F1043 #361B75 #4D26A7 #6739D1

Accessibility & contrast

On white

13.37
#361B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#361B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B75
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B75#FFFFFF#000000##FFFFFF
##361B751.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#1F3346
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361b75;
/* rgb */ color: rgb(54, 27, 117);
/* oklch */ color: oklch(32.2% 0.143 289.6);
Tailwind
colors: {
  custom: {
    50: '#745a9e',
    500: '#361b75',
    950: '#000000',
  },
}
SCSS
$custom: #361b75;
$custom-light: #745a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#361b75",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 258,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32163,
    "c": 0.14273,
    "h": 289.6
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#361B75
secondary
#8BA942
accent
#E642B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361B75

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

Preview Lab → · Contrast checker → · Palette generator →

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