#331649#331649

#331649 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.093 H 307.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#331649
RGBrgb(51, 22, 73)
HSLhsl(274, 54%, 19%)
HSVhsv(274, 70%, 29%)
CMYKcmyk(30.1%, 69.9%, 0%, 71.4%)
CIE-LABlab(14.17, 25.39, -26.12)
CIE-LCHlch(14.17, 36.43, 314.19°)
OKLaboklab(27.1% 0.0566 -0.0738)
OKLCHoklch(27.1% 0.093 307.5)
XYZxyz(2.8545, 1.7587, 6.4911)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331649 #2C4916
analogous
#191649 #331649 #491645
triadic
#331649 #493316 #164933
tetradic
#331649 #491916 #2C4916 #164549
square
#331649 #491916 #2C4916 #164549
split-complementary
#331649 #454916 #164919
monochromatic
#100718 #12081A #331649 #542478 #7532A7

Accessibility & contrast

On white

15.53
#331649 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#331649 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331649
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331649#FFFFFF#000000##FFFFFF
##3316491.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234B
Deuteranopia (green-blind)
#0D2448
Tritanopia (blue-blind)
#30202D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331649;
/* rgb */ color: rgb(51, 22, 73);
/* oklch */ color: oklch(27.1% 0.093 307.5);
Tailwind
colors: {
  custom: {
    50: '#6d557c',
    500: '#331649',
    950: '#000000',
  },
}
SCSS
$custom: #331649;
$custom-light: #6d557c;
$custom-dark: #000000;
JSON
{
  "hex": "#331649",
  "rgb": {
    "r": 51,
    "g": 22,
    "b": 73
  },
  "hsl": {
    "h": 274.118,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27103,
    "c": 0.09301,
    "h": 307.5
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#331649
secondary
#59803A
accent
#DD4B8A
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #331649

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

Preview Lab → · Contrast checker → · Palette generator →

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