#311569#311569

#311569 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.135 H 291.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#311569
RGBrgb(49, 21, 105)
HSLhsl(260, 67%, 25%)
HSVhsv(260, 80%, 41%)
CMYKcmyk(53.3%, 80%, 0%, 58.8%)
CIE-LABlab(16.55, 34.83, -43.79)
CIE-LCHlch(16.55, 55.95, 308.50°)
OKLaboklab(29.63% 0.0483 -0.1258)
OKLCHoklch(29.63% 0.135 291)
XYZxyz(4.0839, 2.2091, 13.5731)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311569 #4D6915
analogous
#152369 #311569 #5B1569
triadic
#311569 #693115 #156931
tetradic
#311569 #691523 #4D6915 #15695B
square
#311569 #691523 #4D6915 #15695B
split-complementary
#311569 #695B15 #236915
monochromatic
#0C051A #190B36 #311569 #491F9C #6129CF

Accessibility & contrast

On white

14.57
#311569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311569
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311569#FFFFFF#000000##FFFFFF
##3115691.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #311569;
/* rgb */ color: rgb(49, 21, 105);
/* oklch */ color: oklch(29.6% 0.135 291.0);
Tailwind
colors: {
  custom: {
    50: '#705695',
    500: '#311569',
    950: '#000000',
  },
}
SCSS
$custom: #311569;
$custom-light: #705695;
$custom-dark: #000000;
JSON
{
  "hex": "#311569",
  "rgb": {
    "r": 49,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 260,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29626,
    "c": 0.13472,
    "h": 291
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#311569
secondary
#7EA03A
accent
#EA3EB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #311569

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

Preview Lab → · Contrast checker → · Palette generator →

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