#362162#362162

#362162 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.3% C 0.110 H 294.0°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#362162
RGBrgb(54, 33, 98)
HSLhsl(259, 50%, 26%)
HSVhsv(259, 66%, 38%)
CMYKcmyk(44.9%, 66.3%, 0%, 61.6%)
CIE-LABlab(19.03, 26.75, -35.12)
CIE-LCHlch(19.03, 44.14, 307.29°)
OKLaboklab(31.34% 0.0447 -0.1002)
OKLCHoklch(31.34% 0.11 294)
XYZxyz(4.2692, 2.7537, 11.8595)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362162 #4D6221
analogous
#212C62 #362162 #562162
triadic
#362162 #623621 #216236
tetradic
#362162 #62212C #4D6221 #216256
square
#362162 #62212C #4D6221 #216256
split-complementary
#362162 #625621 #2C6221
monochromatic
#0D0817 #1D1234 #362162 #4F3090 #6840BE

Accessibility & contrast

On white

13.54
#362162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362162
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362162#FFFFFF#000000##FFFFFF
##3621621.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#2A303E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #362162;
/* rgb */ color: rgb(54, 33, 98);
/* oklch */ color: oklch(31.3% 0.110 294.0);
Tailwind
colors: {
  custom: {
    50: '#715d8f',
    500: '#362162',
    950: '#000000',
  },
}
SCSS
$custom: #362162;
$custom-light: #715d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#362162",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 259.385,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31342,
    "c": 0.10967,
    "h": 294
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #362162

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

Preview Lab → · Contrast checker → · Palette generator →

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