#331469#331469

#331469 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.136 H 292.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#331469
RGBrgb(51, 20, 105)
HSLhsl(262, 68%, 25%)
HSVhsv(262, 81%, 41%)
CMYKcmyk(51.4%, 81%, 0%, 58.8%)
CIE-LABlab(16.62, 35.66, -43.66)
CIE-LCHlch(16.62, 56.38, 309.24°)
OKLaboklab(29.73% 0.0525 -0.1253)
OKLCHoklch(29.73% 0.136 292.7)
XYZxyz(4.1645, 2.2239, 13.5717)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331469 #4A6914
analogous
#142069 #331469 #5E1469
triadic
#331469 #693314 #146933
tetradic
#331469 #691420 #4A6914 #14695E
square
#331469 #691420 #4A6914 #14695E
split-complementary
#331469 #695E14 #206914
monochromatic
#0C051A #1A0A36 #331469 #4C1E9C #6528D0

Accessibility & contrast

On white

14.53
#331469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#331469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331469
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331469#FFFFFF#000000##FFFFFF
##3314691.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#222C3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #331469;
/* rgb */ color: rgb(51, 20, 105);
/* oklch */ color: oklch(29.7% 0.136 292.7);
Tailwind
colors: {
  custom: {
    50: '#715595',
    500: '#331469',
    950: '#000000',
  },
}
SCSS
$custom: #331469;
$custom-light: #715595;
$custom-dark: #000000;
JSON
{
  "hex": "#331469",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 261.882,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29734,
    "c": 0.13586,
    "h": 292.7
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#331469
secondary
#7AA039
accent
#EB3DAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #331469

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

Preview Lab → · Contrast checker → · Palette generator →

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