#362391#362391

#362391 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.169 H 281.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#362391
RGBrgb(54, 35, 145)
HSLhsl(250, 61%, 35%)
HSVhsv(250, 76%, 57%)
CMYKcmyk(62.8%, 75.9%, 0%, 43.1%)
CIE-LABlab(23.77, 40.44, -57.36)
CIE-LCHlch(23.77, 70.18, 305.19°)
OKLaboklab(36.06% 0.0342 -0.1654)
OKLCHoklch(36.06% 0.169 281.7)
XYZxyz(7.2316, 4.0301, 27.1794)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362391 #7E9123
analogous
#234791 #362391 #6D2391
triadic
#362391 #913623 #239136
tetradic
#362391 #912347 #7E9123 #23916D
square
#362391 #912347 #7E9123 #23916D
split-complementary
#362391 #916D23 #479123
monochromatic
#110B2E #241760 #362391 #482FC2 #6E58D7

Accessibility & contrast

On white

11.63
#362391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#362391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362391
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362391#FFFFFF#000000##FFFFFF
##3623911.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #362391;
/* rgb */ color: rgb(54, 35, 145);
/* oklch */ color: oklch(36.1% 0.169 281.7);
Tailwind
colors: {
  custom: {
    50: '#7960b2',
    500: '#362391',
    950: '#000000',
  },
}
SCSS
$custom: #362391;
$custom-light: #7960b2;
$custom-dark: #000000;
JSON
{
  "hex": "#362391",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 250.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36063,
    "c": 0.16892,
    "h": 281.7
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#362391
secondary
#A9BB55
accent
#E444C8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362391

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

Preview Lab → · Contrast checker → · Palette generator →

#362391 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva