#362152#362152

#362152 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.1% C 0.087 H 301.1°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#362152
RGBrgb(54, 33, 82)
HSLhsl(266, 43%, 23%)
HSVhsv(266, 60%, 32%)
CMYKcmyk(34.1%, 59.8%, 0%, 67.8%)
CIE-LABlab(17.83, 21.89, -26.37)
CIE-LCHlch(17.83, 34.27, 309.70°)
OKLaboklab(30.08% 0.0449 -0.0745)
OKLCHoklch(30.08% 0.087 301.1)
XYZxyz(3.5878, 2.4812, 8.2709)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362152 #3D5221
analogous
#212552 #362152 #4E2152
triadic
#362152 #523621 #215236
tetradic
#362152 #522125 #3D5221 #21524E
square
#362152 #522125 #3D5221 #21524E
split-complementary
#362152 #524E21 #255221
monochromatic
#0E0916 #190F26 #362152 #53337E #6F44A9

Accessibility & contrast

On white

14.04
#362152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#362152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362152
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362152#FFFFFF#000000##FFFFFF
##3621521.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2B54
Deuteranopia (green-blind)
#152B51
Tritanopia (blue-blind)
#302B36
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #362152;
/* rgb */ color: rgb(54, 33, 82);
/* oklch */ color: oklch(30.1% 0.087 301.1);
Tailwind
colors: {
  custom: {
    50: '#6f5d83',
    500: '#362152',
    950: '#000000',
  },
}
SCSS
$custom: #362152;
$custom-light: #6f5d83;
$custom-dark: #000000;
JSON
{
  "hex": "#362152",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 265.714,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30084,
    "c": 0.08698,
    "h": 301.1
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#362152
secondary
#6C8649
accent
#D2559D
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040A
muted
#7A797C

Preview Lab

Preview with #362152

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

Preview Lab → · Contrast checker → · Palette generator →

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