#331446#331446

#331446 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.093 H 310.1°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#331446
RGBrgb(51, 20, 70)
HSLhsl(277, 56%, 18%)
HSVhsv(277, 71%, 27%)
CMYKcmyk(27.1%, 71.4%, 0%, 72.5%)
CIE-LABlab(13.51, 25.75, -25.09)
CIE-LCHlch(13.51, 35.95, 315.75°)
OKLaboklab(26.56% 0.0596 -0.0708)
OKLCHoklch(26.56% 0.093 310.1)
XYZxyz(2.7207, 1.6464, 5.9676)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331446 #274614
analogous
#1A1446 #331446 #461440
triadic
#331446 #463314 #144633
tetradic
#331446 #461A14 #274614 #144046
square
#331446 #461A14 #274614 #144046
split-complementary
#331446 #404614 #14461A
monochromatic
#110718 #110718 #331446 #562276 #782FA5

Accessibility & contrast

On white

15.80
#331446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331446
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331446#FFFFFF#000000##FFFFFF
##3314461.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#0E2345
Tritanopia (blue-blind)
#301E2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331446;
/* rgb */ color: rgb(51, 20, 70);
/* oklch */ color: oklch(26.6% 0.093 310.1);
Tailwind
colors: {
  custom: {
    50: '#6d547a',
    500: '#331446',
    950: '#000000',
  },
}
SCSS
$custom: #331446;
$custom-light: #6d547a;
$custom-dark: #000000;
JSON
{
  "hex": "#331446",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 70
  },
  "hsl": {
    "h": 277.2,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26556,
    "c": 0.09253,
    "h": 310.1
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#331446
secondary
#527E38
accent
#DF4982
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #331446

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

Preview Lab → · Contrast checker → · Palette generator →

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