#362B68#362B68

#362B68 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.7% C 0.103 H 287.9°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#362B68
RGBrgb(54, 43, 104)
HSLhsl(251, 41%, 29%)
HSVhsv(251, 59%, 41%)
CMYKcmyk(48.1%, 58.7%, 0%, 59.2%)
CIE-LABlab(21.99, 22.15, -34.27)
CIE-LCHlch(21.99, 40.81, 302.87°)
OKLaboklab(33.66% 0.0315 -0.0977)
OKLCHoklch(33.66% 0.103 287.9)
XYZxyz(4.8832, 3.5113, 13.5145)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362B68 #5D682B
analogous
#2B3F68 #362B68 #552B68
triadic
#362B68 #68362B #2B6836
tetradic
#362B68 #682B3F #5D682B #2B6855
square
#362B68 #682B3F #5D682B #2B6855
split-complementary
#362B68 #68552B #3F682B
monochromatic
#0B0916 #20193D #362B68 #4C3D93 #6755B9

Accessibility & contrast

On white

12.34
#362B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#362B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362B68
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362B68#FFFFFF#000000##FFFFFF
##362B681.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09366A
Deuteranopia (green-blind)
#093367
Tritanopia (blue-blind)
#263845
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #362b68;
/* rgb */ color: rgb(54, 43, 104);
/* oklch */ color: oklch(33.7% 0.103 287.9);
Tailwind
colors: {
  custom: {
    50: '#716494',
    500: '#362b68',
    950: '#000000',
  },
}
SCSS
$custom: #362b68;
$custom-light: #716494;
$custom-dark: #000000;
JSON
{
  "hex": "#362b68",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 250.82,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33658,
    "c": 0.10263,
    "h": 287.9
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#362B68
secondary
#8E9A55
accent
#D156BB
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #362B68

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

Preview Lab → · Contrast checker → · Palette generator →

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