#362C4E#362C4E

#362C4E is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.1% C 0.060 H 296.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#362C4E
RGBrgb(54, 44, 78)
HSLhsl(258, 28%, 24%)
HSVhsv(258, 44%, 31%)
CMYKcmyk(30.8%, 43.6%, 0%, 69.4%)
CIE-LABlab(20.58, 13.25, -19.32)
CIE-LCHlch(20.58, 23.43, 304.45°)
OKLaboklab(32.06% 0.0268 -0.0539)
OKLCHoklch(32.06% 0.06 296.4)
XYZxyz(3.7968, 3.1357, 7.6115)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362C4E #444E2C
analogous
#2C334E #362C4E #472C4E
triadic
#362C4E #4E362C #2C4E36
tetradic
#362C4E #4E2C33 #444E2C #2C4E47
square
#362C4E #4E2C33 #444E2C #2C4E47
split-complementary
#362C4E #4E472C #334E2C
monochromatic
#0E0B14 #1B1627 #362C4E #514275 #6C589C

Accessibility & contrast

On white

12.91
#362C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#362C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362C4E
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362C4E#FFFFFF#000000##FFFFFF
##362C4E1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#313239
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #362c4e;
/* rgb */ color: rgb(54, 44, 78);
/* oklch */ color: oklch(32.1% 0.060 296.4);
Tailwind
colors: {
  custom: {
    50: '#6e657f',
    500: '#362c4e',
    950: '#000000',
  },
}
SCSS
$custom: #362c4e;
$custom-light: #6e657f;
$custom-dark: #000000;
JSON
{
  "hex": "#362c4e",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 257.647,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3206,
    "c": 0.0602,
    "h": 296.4
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#362C4E
secondary
#738056
accent
#C464A8
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #362C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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