#331144#331144

#331144 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.095 H 312.3°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#331144
RGBrgb(51, 17, 68)
HSLhsl(280, 60%, 17%)
HSVhsv(280, 75%, 27%)
CMYKcmyk(25%, 75%, 0%, 73.3%)
CIE-LABlab(12.75, 26.91, -24.92)
CIE-LCHlch(12.75, 36.68, 317.20°)
OKLaboklab(25.96% 0.0639 -0.0703)
OKLCHoklch(25.96% 0.095 312.3)
XYZxyz(2.6089, 1.5221, 5.6241)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331144 #224411
analogous
#1A1144 #331144 #44113C
triadic
#331144 #443311 #114433
tetradic
#331144 #441A11 #224411 #113C44
square
#331144 #441A11 #224411 #113C44
split-complementary
#331144 #3C4411 #11441A
monochromatic
#120618 #120618 #331144 #581D75 #7C29A6

Accessibility & contrast

On white

16.10
#331144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#331144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331144
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331144#FFFFFF#000000##FFFFFF
##3311441.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#0C2243
Tritanopia (blue-blind)
#311B28
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331144;
/* rgb */ color: rgb(51, 17, 68);
/* oklch */ color: oklch(26.0% 0.095 312.3);
Tailwind
colors: {
  custom: {
    50: '#6d5278',
    500: '#331144',
    950: '#000000',
  },
}
SCSS
$custom: #331144;
$custom-light: #6d5278;
$custom-dark: #000000;
JSON
{
  "hex": "#331144",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 68
  },
  "hsl": {
    "h": 280,
    "s": 60,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25958,
    "c": 0.09496,
    "h": 312.3
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#331144
secondary
#4C7E33
accent
#E34579
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #331144

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

Preview Lab → · Contrast checker → · Palette generator →

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