#362A4E#362A4E

#362A4E is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.6% C 0.064 H 298.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#362A4E
RGBrgb(54, 42, 78)
HSLhsl(260, 30%, 24%)
HSVhsv(260, 46%, 31%)
CMYKcmyk(30.8%, 46.2%, 0%, 69.4%)
CIE-LABlab(20.00, 14.63, -20.22)
CIE-LCHlch(20.00, 24.96, 305.88°)
OKLaboklab(31.62% 0.0301 -0.0565)
OKLCHoklch(31.62% 0.064 298)
XYZxyz(3.7241, 2.9902, 7.5872)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A4E #424E2A
analogous
#2A304E #362A4E #482A4E
triadic
#362A4E #4E362A #2A4E36
tetradic
#362A4E #4E2A30 #424E2A #2A4E48
square
#362A4E #4E2A30 #424E2A #2A4E48
split-complementary
#362A4E #4E482A #304E2A
monochromatic
#0E0B14 #1A1526 #362A4E #523F76 #6D559E

Accessibility & contrast

On white

13.14
#362A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#362A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A4E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A4E#FFFFFF#000000##FFFFFF
##362A4E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#313038
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #362a4e;
/* rgb */ color: rgb(54, 42, 78);
/* oklch */ color: oklch(31.6% 0.064 298.0);
Tailwind
colors: {
  custom: {
    50: '#6e6380',
    500: '#362a4e',
    950: '#000000',
  },
}
SCSS
$custom: #362a4e;
$custom-light: #6e6380;
$custom-dark: #000000;
JSON
{
  "hex": "#362a4e",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 260,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31625,
    "c": 0.06405,
    "h": 298
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#362A4E
secondary
#718054
accent
#C662A5
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #362A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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