#331444#331444

#331444 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.090 H 311.5°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#331444
RGBrgb(51, 20, 68)
HSLhsl(279, 55%, 17%)
HSVhsv(279, 71%, 27%)
CMYKcmyk(25%, 70.6%, 0%, 73.3%)
CIE-LABlab(13.36, 25.22, -23.94)
CIE-LCHlch(13.36, 34.77, 316.50°)
OKLaboklab(26.4% 0.0597 -0.0674)
OKLCHoklch(26.4% 0.09 311.5)
XYZxyz(2.6586, 1.6215, 5.6407)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331444 #254414
analogous
#1B1444 #331444 #44143D
triadic
#331444 #443314 #144433
tetradic
#331444 #441B14 #254414 #143D44
square
#331444 #441B14 #254414 #143D44
split-complementary
#331444 #3D4414 #14441B
monochromatic
#120718 #120718 #331444 #562273 #7A30A3

Accessibility & contrast

On white

15.86
#331444 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#331444 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331444
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331444#FFFFFF#000000##FFFFFF
##3314441.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022145
Deuteranopia (green-blind)
#102343
Tritanopia (blue-blind)
#311D29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331444;
/* rgb */ color: rgb(51, 20, 68);
/* oklch */ color: oklch(26.4% 0.090 311.5);
Tailwind
colors: {
  custom: {
    50: '#6d5478',
    500: '#331444',
    950: '#000000',
  },
}
SCSS
$custom: #331444;
$custom-light: #6d5478;
$custom-dark: #000000;
JSON
{
  "hex": "#331444",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 68
  },
  "hsl": {
    "h": 278.75,
    "s": 54.545,
    "l": 17.255
  },
  "oklch": {
    "l": 0.264,
    "c": 0.09002,
    "h": 311.5
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#331444
secondary
#507C38
accent
#DE4A7E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #331444

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

Preview Lab → · Contrast checker → · Palette generator →

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