#362159#362159

#362159 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.6% C 0.097 H 297.7°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#362159
RGBrgb(54, 33, 89)
HSLhsl(263, 46%, 24%)
HSVhsv(263, 63%, 35%)
CMYKcmyk(39.3%, 62.9%, 0%, 65.1%)
CIE-LABlab(18.34, 23.99, -30.27)
CIE-LCHlch(18.34, 38.62, 308.40°)
OKLaboklab(30.61% 0.0451 -0.0859)
OKLCHoklch(30.61% 0.097 297.7)
XYZxyz(3.8679, 2.5932, 9.7460)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362159 #445921
analogous
#212859 #362159 #522159
triadic
#362159 #593621 #215936
tetradic
#362159 #592128 #445921 #215952
square
#362159 #592128 #445921 #215952
split-complementary
#362159 #595221 #285921
monochromatic
#0E0816 #1B102C #362159 #513286 #6C42B2

Accessibility & contrast

On white

13.83
#362159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#362159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362159
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362159#FFFFFF#000000##FFFFFF
##3621591.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042D5B
Deuteranopia (green-blind)
#0D2C58
Tritanopia (blue-blind)
#2E2D39
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #362159;
/* rgb */ color: rgb(54, 33, 89);
/* oklch */ color: oklch(30.6% 0.097 297.7);
Tailwind
colors: {
  custom: {
    50: '#705d88',
    500: '#362159',
    950: '#000000',
  },
}
SCSS
$custom: #362159;
$custom-light: #705d88;
$custom-dark: #000000;
JSON
{
  "hex": "#362159",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 262.5,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30614,
    "c": 0.09701,
    "h": 297.7
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#362159
secondary
#738D49
accent
#D652A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #362159

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

Preview Lab → · Contrast checker → · Palette generator →

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