#311449#311449

#311449 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.096 H 306.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#311449
RGBrgb(49, 20, 73)
HSLhsl(273, 57%, 18%)
HSVhsv(273, 73%, 29%)
CMYKcmyk(32.9%, 72.6%, 0%, 71.4%)
CIE-LABlab(13.44, 26.03, -27.31)
CIE-LCHlch(13.44, 37.73, 313.63°)
OKLaboklab(26.51% 0.0562 -0.0774)
OKLCHoklch(26.51% 0.096 306)
XYZxyz(2.7191, 1.6343, 6.4743)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311449 #2C4914
analogous
#161449 #311449 #491446
triadic
#311449 #493114 #144931
tetradic
#311449 #491614 #2C4914 #144649
square
#311449 #491614 #2C4914 #144649
split-complementary
#311449 #464914 #144916
monochromatic
#100718 #110719 #311449 #512179 #712EA9

Accessibility & contrast

On white

15.83
#311449 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#311449 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311449
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311449#FFFFFF#000000##FFFFFF
##3114491.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#072348
Tritanopia (blue-blind)
#2D1F2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #311449;
/* rgb */ color: rgb(49, 20, 73);
/* oklch */ color: oklch(26.5% 0.096 306.0);
Tailwind
colors: {
  custom: {
    50: '#6c547c',
    500: '#311449',
    950: '#000000',
  },
}
SCSS
$custom: #311449;
$custom-light: #6c547c;
$custom-dark: #000000;
JSON
{
  "hex": "#311449",
  "rgb": {
    "r": 49,
    "g": 20,
    "b": 73
  },
  "hsl": {
    "h": 272.83,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26512,
    "c": 0.09564,
    "h": 306
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#311449
secondary
#598138
accent
#E0488D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #311449

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

Preview Lab → · Contrast checker → · Palette generator →

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