#332467#332467

#332467 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.112 H 288.7°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#332467
RGBrgb(51, 36, 103)
HSLhsl(253, 48%, 27%)
HSVhsv(253, 65%, 40%)
CMYKcmyk(50.5%, 65%, 0%, 59.6%)
CIE-LABlab(19.82, 25.72, -37.13)
CIE-LCHlch(19.82, 45.17, 304.71°)
OKLaboklab(31.97% 0.036 -0.1062)
OKLCHoklch(31.97% 0.112 288.7)
XYZxyz(4.4436, 2.9447, 13.1636)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#332467 #586724
analogous
#243767 #332467 #552467
triadic
#332467 #673324 #246733
tetradic
#332467 #672437 #586724 #246755
square
#332467 #672437 #586724 #246755
split-complementary
#332467 #675524 #376724
monochromatic
#0B0817 #1D143A #332467 #493494 #6247BF

Accessibility & contrast

On white

13.22
#332467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#332467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #332467
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##332467#FFFFFF#000000##FFFFFF
##3324671.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#223441
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #332467;
/* rgb */ color: rgb(51, 36, 103);
/* oklch */ color: oklch(32.0% 0.112 288.7);
Tailwind
colors: {
  custom: {
    50: '#705f93',
    500: '#332467',
    950: '#000000',
  },
}
SCSS
$custom: #332467;
$custom-light: #705f93;
$custom-dark: #000000;
JSON
{
  "hex": "#332467",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 253.433,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.11215,
    "h": 288.7
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#332467
secondary
#899A4C
accent
#D850B9
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #332467

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

Preview Lab → · Contrast checker → · Palette generator →

#332467 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva