#311469#311469

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

Color values

HEX#311469
RGBrgb(49, 20, 105)
HSLhsl(260, 68%, 25%)
HSVhsv(260, 81%, 41%)
CMYKcmyk(53.3%, 81%, 0%, 58.8%)
CIE-LABlab(16.37, 35.34, -44.08)
CIE-LCHlch(16.37, 56.50, 308.72°)
OKLaboklab(29.5% 0.0491 -0.1266)
OKLCHoklch(29.5% 0.136 291.2)
XYZxyz(4.0659, 2.1730, 13.5671)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311469 #4C6914
analogous
#142169 #311469 #5C1469
triadic
#311469 #693114 #146931
tetradic
#311469 #691421 #4C6914 #14695C
square
#311469 #691421 #4C6914 #14695C
split-complementary
#311469 #695C14 #216914
monochromatic
#0C051A #190A36 #311469 #491E9C #6128D0

Accessibility & contrast

On white

14.64
#311469 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#311469 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311469
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311469#FFFFFF#000000##FFFFFF
##3114691.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.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: #311469;
/* rgb */ color: rgb(49, 20, 105);
/* oklch */ color: oklch(29.5% 0.136 291.2);
Tailwind
colors: {
  custom: {
    50: '#705595',
    500: '#311469',
    950: '#000000',
  },
}
SCSS
$custom: #311469;
$custom-light: #705595;
$custom-dark: #000000;
JSON
{
  "hex": "#311469",
  "rgb": {
    "r": 49,
    "g": 20,
    "b": 105
  },
  "hsl": {
    "h": 260.471,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29502,
    "c": 0.13583,
    "h": 291.2
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#311469
secondary
#7DA039
accent
#EB3DB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #311469

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

Preview Lab → · Contrast checker → · Palette generator →

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