#331464#331464

#331464 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.130 H 294.6°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#331464
RGBrgb(51, 20, 100)
HSLhsl(263, 67%, 24%)
HSVhsv(263, 80%, 39%)
CMYKcmyk(49%, 80%, 0%, 60.8%)
CIE-LABlab(16.13, 34.21, -41.18)
CIE-LCHlch(16.13, 53.53, 309.71°)
OKLaboklab(29.24% 0.054 -0.118)
OKLCHoklch(29.24% 0.13 294.6)
XYZxyz(3.9150, 2.1241, 12.2578)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331464 #456414
analogous
#141D64 #331464 #5B1464
triadic
#331464 #643314 #146433
tetradic
#331464 #64141D #456414 #14645B
square
#331464 #64141D #456414 #14645B
split-complementary
#331464 #645B14 #1D6414
monochromatic
#0D051A #190A31 #331464 #4D1E97 #6728CA

Accessibility & contrast

On white

14.74
#331464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#331464 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331464
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331464#FFFFFF#000000##FFFFFF
##3314641.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#252A3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #331464;
/* rgb */ color: rgb(51, 20, 100);
/* oklch */ color: oklch(29.2% 0.130 294.6);
Tailwind
colors: {
  custom: {
    50: '#715591',
    500: '#331464',
    950: '#000000',
  },
}
SCSS
$custom: #331464;
$custom-light: #715591;
$custom-dark: #000000;
JSON
{
  "hex": "#331464",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 263.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29236,
    "c": 0.1298,
    "h": 294.6
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#331464
secondary
#759B38
accent
#EA3EA7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #331464

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

Preview Lab → · Contrast checker → · Palette generator →

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