#331969#331969

#331969 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.130 H 291.6°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#331969
RGBrgb(51, 25, 105)
HSLhsl(260, 62%, 25%)
HSVhsv(260, 76%, 41%)
CMYKcmyk(51.4%, 76.2%, 0%, 58.8%)
CIE-LABlab(17.55, 33.03, -42.14)
CIE-LCHlch(17.55, 53.55, 308.09°)
OKLaboklab(30.39% 0.0478 -0.1209)
OKLCHoklch(30.39% 0.13 291.6)
XYZxyz(4.2620, 2.4188, 13.6042)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331969 #4F6919
analogous
#192769 #331969 #5B1969
triadic
#331969 #693319 #196933
tetradic
#331969 #691927 #4F6919 #19695B
square
#331969 #691927 #4F6919 #19695B
split-complementary
#331969 #695B19 #276919
monochromatic
#0C0619 #1B0D38 #331969 #4B259A #6331CC

Accessibility & contrast

On white

14.15
#331969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#331969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331969
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331969#FFFFFF#000000##FFFFFF
##3319691.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#212E3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #331969;
/* rgb */ color: rgb(51, 25, 105);
/* oklch */ color: oklch(30.4% 0.130 291.6);
Tailwind
colors: {
  custom: {
    50: '#715895',
    500: '#331969',
    950: '#000000',
  },
}
SCSS
$custom: #331969;
$custom-light: #715895;
$custom-dark: #000000;
JSON
{
  "hex": "#331969",
  "rgb": {
    "r": 51,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 259.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.13003,
    "h": 291.6
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#331969
secondary
#809F3F
accent
#E543B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #331969

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

Preview Lab → · Contrast checker → · Palette generator →

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