#362161#362161

#362161 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 294.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#362161
RGBrgb(54, 33, 97)
HSLhsl(260, 49%, 25%)
HSVhsv(260, 66%, 38%)
CMYKcmyk(44.3%, 66%, 0%, 62%)
CIE-LABlab(18.95, 26.44, -34.59)
CIE-LCHlch(18.95, 43.54, 307.39°)
OKLaboklab(31.26% 0.0447 -0.0986)
OKLCHoklch(31.26% 0.108 294.4)
XYZxyz(4.2223, 2.7349, 11.6124)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362161 #4C6121
analogous
#212C61 #362161 #562161
triadic
#362161 #613621 #216136
tetradic
#362161 #61212C #4C6121 #216156
square
#362161 #61212C #4C6121 #216156
split-complementary
#362161 #615621 #2C6121
monochromatic
#0D0817 #1D1133 #362161 #4F318F #6940BC

Accessibility & contrast

On white

13.57
#362161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#362161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362161
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362161#FFFFFF#000000##FFFFFF
##3621611.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F63
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#2B2F3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #362161;
/* rgb */ color: rgb(54, 33, 97);
/* oklch */ color: oklch(31.3% 0.108 294.4);
Tailwind
colors: {
  custom: {
    50: '#715d8e',
    500: '#362161',
    950: '#000000',
  },
}
SCSS
$custom: #362161;
$custom-light: #715d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#362161",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 259.688,
    "s": 49.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31259,
    "c": 0.10828,
    "h": 294.4
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#362161
secondary
#7C9549
accent
#D94FAC
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #362161

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

Preview Lab → · Contrast checker → · Palette generator →

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