#362B4E#362B4E

#362B4E is a dark, moderate violet. Relative luminance 0.031; OKLCH L 31.8% C 0.062 H 297.2°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#362B4E
RGBrgb(54, 43, 78)
HSLhsl(259, 29%, 24%)
HSVhsv(259, 45%, 31%)
CMYKcmyk(30.8%, 44.9%, 0%, 69.4%)
CIE-LABlab(20.29, 13.94, -19.77)
CIE-LCHlch(20.29, 24.20, 305.19°)
OKLaboklab(31.84% 0.0284 -0.0552)
OKLCHoklch(31.84% 0.062 297.2)
XYZxyz(3.7600, 3.0620, 7.5992)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B4E #434E2B
analogous
#2B314E #362B4E #472B4E
triadic
#362B4E #4E362B #2B4E36
tetradic
#362B4E #4E2B31 #434E2B #2B4E47
square
#362B4E #4E2B31 #434E2B #2B4E47
split-complementary
#362B4E #4E472B #314E2B
monochromatic
#0E0B14 #1B1527 #362B4E #514175 #6D569D

Accessibility & contrast

On white

13.02
#362B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#362B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B4E
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B4E#FFFFFF#000000##FFFFFF
##362B4E1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#23314D
Tritanopia (blue-blind)
#313138
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #362b4e;
/* rgb */ color: rgb(54, 43, 78);
/* oklch */ color: oklch(31.8% 0.062 297.2);
Tailwind
colors: {
  custom: {
    50: '#6e647f',
    500: '#362b4e',
    950: '#000000',
  },
}
SCSS
$custom: #362b4e;
$custom-light: #6e647f;
$custom-dark: #000000;
JSON
{
  "hex": "#362b4e",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 258.857,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31841,
    "c": 0.06213,
    "h": 297.2
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#362B4E
secondary
#728055
accent
#C563A6
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #362B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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