#362452#362452

#362452 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.7% C 0.082 H 299.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#362452
RGBrgb(54, 36, 82)
HSLhsl(263, 39%, 23%)
HSVhsv(263, 56%, 32%)
CMYKcmyk(34.1%, 56.1%, 0%, 67.8%)
CIE-LABlab(18.61, 19.91, -25.13)
CIE-LCHlch(18.61, 32.06, 308.38°)
OKLaboklab(30.66% 0.0403 -0.0709)
OKLCHoklch(30.66% 0.082 299.7)
XYZxyz(3.6748, 2.6552, 8.2999)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362452 #405224
analogous
#242952 #362452 #4D2452
triadic
#362452 #523624 #245236
tetradic
#362452 #522429 #405224 #24524D
square
#362452 #522429 #405224 #24524D
split-complementary
#362452 #524D24 #295224
monochromatic
#0E0915 #1A1127 #362452 #52377D #6E49A7

Accessibility & contrast

On white

13.72
#362452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#362452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362452
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362452#FFFFFF#000000##FFFFFF
##3624521.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#192D51
Tritanopia (blue-blind)
#302D37
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #362452;
/* rgb */ color: rgb(54, 36, 82);
/* oklch */ color: oklch(30.7% 0.082 299.7);
Tailwind
colors: {
  custom: {
    50: '#6f5f83',
    500: '#362452',
    950: '#000000',
  },
}
SCSS
$custom: #362452;
$custom-light: #6f5f83;
$custom-dark: #000000;
JSON
{
  "hex": "#362452",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 263.478,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30657,
    "c": 0.08154,
    "h": 299.7
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#362452
secondary
#6F864C
accent
#CF59A1
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040A
muted
#7A797C

Preview Lab

Preview with #362452

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

Preview Lab → · Contrast checker → · Palette generator →

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