#362387#362387

#362387 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.156 H 283.5°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#362387
RGBrgb(54, 35, 135)
HSLhsl(251, 59%, 33%)
HSVhsv(251, 74%, 53%)
CMYKcmyk(60%, 74.1%, 0%, 47.1%)
CIE-LABlab(22.78, 37.27, -52.76)
CIE-LCHlch(22.78, 64.60, 305.24°)
OKLaboklab(35.06% 0.0366 -0.152)
OKLCHoklch(35.06% 0.156 283.5)
XYZxyz(6.4942, 3.7352, 23.2957)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362387 #748723
analogous
#234287 #362387 #682387
triadic
#362387 #873623 #238736
tetradic
#362387 #872342 #748723 #238768
square
#362387 #872342 #748723 #238768
split-complementary
#362387 #876823 #428723
monochromatic
#0F0A26 #231656 #362387 #4930B8 #6B52D2

Accessibility & contrast

On white

12.02
#362387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#362387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362387
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362387#FFFFFF#000000##FFFFFF
##3623871.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#063E52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #362387;
/* rgb */ color: rgb(54, 35, 135);
/* oklch */ color: oklch(35.1% 0.156 283.5);
Tailwind
colors: {
  custom: {
    50: '#7760ab',
    500: '#362387',
    950: '#000000',
  },
}
SCSS
$custom: #362387;
$custom-light: #7760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#362387",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 251.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35058,
    "c": 0.15632,
    "h": 283.5
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#362387
secondary
#A3B650
accent
#E246C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #362387

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

Preview Lab → · Contrast checker → · Palette generator →

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