#362392#362392

#362392 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.170 H 281.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#362392
RGBrgb(54, 35, 146)
HSLhsl(250, 61%, 35%)
HSVhsv(250, 76%, 57%)
CMYKcmyk(63%, 76%, 0%, 42.7%)
CIE-LABlab(23.87, 40.76, -57.81)
CIE-LCHlch(23.87, 70.73, 305.19°)
OKLaboklab(36.17% 0.034 -0.1667)
OKLCHoklch(36.17% 0.17 281.5)
XYZxyz(7.3090, 4.0611, 27.5873)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362392 #7F9223
analogous
#234892 #362392 #6D2392
triadic
#362392 #923623 #239236
tetradic
#362392 #922348 #7F9223 #23926D
square
#362392 #922348 #7F9223 #23926D
split-complementary
#362392 #926D23 #489223
monochromatic
#110B2F #241761 #362392 #482FC3 #6E58D7

Accessibility & contrast

On white

11.59
#362392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362392
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362392#FFFFFF#000000##FFFFFF
##3623921.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #362392;
/* rgb */ color: rgb(54, 35, 146);
/* oklch */ color: oklch(36.2% 0.170 281.5);
Tailwind
colors: {
  custom: {
    50: '#7961b3',
    500: '#362392',
    950: '#000000',
  },
}
SCSS
$custom: #362392;
$custom-light: #7961b3;
$custom-dark: #000000;
JSON
{
  "hex": "#362392",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 250.27,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.17017,
    "h": 281.5
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#362392
secondary
#AABB55
accent
#E443C9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362392

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

Preview Lab → · Contrast checker → · Palette generator →

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