#361C72#361C72

#361C72 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.138 H 290.2°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#361C72
RGBrgb(54, 28, 114)
HSLhsl(258, 61%, 28%)
HSVhsv(258, 75%, 45%)
CMYKcmyk(52.6%, 75.4%, 0%, 55.3%)
CIE-LABlab(19.35, 34.65, -45.03)
CIE-LCHlch(19.35, 56.82, 307.57°)
OKLaboklab(32.01% 0.0476 -0.1293)
OKLCHoklch(32.01% 0.138 290.2)
XYZxyz(4.9730, 2.8295, 16.2004)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361C72 #58721C
analogous
#1C2D72 #361C72 #611C72
triadic
#361C72 #72361C #1C7236
tetradic
#361C72 #721C2D #58721C #1C7261
square
#361C72 #721C2D #58721C #1C7261
split-complementary
#361C72 #72611C #2D721C
monochromatic
#0C0619 #1F1041 #361C72 #4D28A3 #673ACF

Accessibility & contrast

On white

13.41
#361C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361C72
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361C72#FFFFFF#000000##FFFFFF
##361C721.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#213345
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361c72;
/* rgb */ color: rgb(54, 28, 114);
/* oklch */ color: oklch(32.0% 0.138 290.2);
Tailwind
colors: {
  custom: {
    50: '#745b9b',
    500: '#361c72',
    950: '#000000',
  },
}
SCSS
$custom: #361c72;
$custom-light: #745b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#361c72",
  "rgb": {
    "r": 54,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 258.14,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32007,
    "c": 0.13779,
    "h": 290.2
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#361C72
secondary
#88A643
accent
#E444B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #361C72

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

Preview Lab → · Contrast checker → · Palette generator →

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