#362A40#362A40

#362A40 is a dark, muted violet. Relative luminance 0.028; OKLCH L 30.8% C 0.042 H 309.0°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#362A40
RGBrgb(54, 42, 64)
HSLhsl(273, 21%, 21%)
HSVhsv(273, 34%, 25%)
CMYKcmyk(15.6%, 34.4%, 0%, 74.9%)
CIE-LABlab(19.27, 10.68, -11.85)
CIE-LCHlch(19.27, 15.95, 312.03°)
OKLaboklab(30.82% 0.0263 -0.0325)
OKLCHoklch(30.82% 0.042 309)
XYZxyz(3.2745, 2.8104, 5.2194)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A40 #34402A
analogous
#2B2A40 #362A40 #402A3F
triadic
#362A40 #40362A #2A4036
tetradic
#362A40 #402B2A #34402A #2A3F40
square
#362A40 #402B2A #34402A #2A3F40
split-complementary
#362A40 #3F402A #2A402B
monochromatic
#100C12 #17121B #362A40 #554265 #745A8A

Accessibility & contrast

On white

13.44
#362A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#362A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A40
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A40#FFFFFF#000000##FFFFFF
##362A401.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E41
Deuteranopia (green-blind)
#292F3F
Tritanopia (blue-blind)
#352D32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #362a40;
/* rgb */ color: rgb(54, 42, 64);
/* oklch */ color: oklch(30.8% 0.042 309.0);
Tailwind
colors: {
  custom: {
    50: '#6d6375',
    500: '#362a40',
    950: '#000000',
  },
}
SCSS
$custom: #362a40;
$custom-light: #6d6375;
$custom-dark: #000000;
JSON
{
  "hex": "#362a40",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 272.727,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30823,
    "c": 0.04177,
    "h": 309
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#362A40
secondary
#627155
accent
#BD6A90
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #362A40

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

Preview Lab → · Contrast checker → · Palette generator →

#362A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva