#362090#362090

#362090 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.171 H 282.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#362090
RGBrgb(54, 32, 144)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 56%)
CMYKcmyk(62.5%, 77.8%, 0%, 43.5%)
CIE-LABlab(23.10, 41.74, -57.84)
CIE-LCHlch(23.10, 71.32, 305.81°)
OKLaboklab(35.56% 0.0366 -0.1668)
OKLCHoklch(35.56% 0.171 282.4)
XYZxyz(7.0703, 3.8304, 26.7469)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362090 #7A9020
analogous
#204290 #362090 #6E2090
triadic
#362090 #903620 #209036
tetradic
#362090 #902042 #7A9020 #20906E
square
#362090 #902042 #7A9020 #20906E
split-complementary
#362090 #906E20 #429020
monochromatic
#100A2C #23155E #362090 #492BC2 #6C52D9

Accessibility & contrast

On white

11.89
#362090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#362090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362090
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362090#FFFFFF#000000##FFFFFF
##3620901.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #362090;
/* rgb */ color: rgb(54, 32, 144);
/* oklch */ color: oklch(35.6% 0.171 282.4);
Tailwind
colors: {
  custom: {
    50: '#795fb2',
    500: '#362090',
    950: '#000000',
  },
}
SCSS
$custom: #362090;
$custom-light: #795fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#362090",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 251.786,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35563,
    "c": 0.17076,
    "h": 282.4
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#362090
secondary
#A7BC50
accent
#E741C6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362090

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

Preview Lab → · Contrast checker → · Palette generator →

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