#311443#311443

#311443 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.0% C 0.088 H 310.1°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#311443
RGBrgb(49, 20, 67)
HSLhsl(277, 54%, 17%)
HSVhsv(277, 70%, 26%)
CMYKcmyk(26.9%, 70.1%, 0%, 73.7%)
CIE-LABlab(12.98, 24.39, -23.87)
CIE-LCHlch(12.98, 34.12, 315.62°)
OKLaboklab(26.03% 0.0566 -0.0673)
OKLCHoklch(26.03% 0.088 310.1)
XYZxyz(2.5297, 1.5586, 5.4767)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311443 #264314
analogous
#1A1443 #311443 #43143E
triadic
#311443 #433114 #144331
tetradic
#311443 #431A14 #264314 #143E43
square
#311443 #431A14 #264314 #143E43
split-complementary
#311443 #3E4314 #14431A
monochromatic
#110718 #110718 #311443 #532272 #7630A1

Accessibility & contrast

On white

16.01
#311443 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#311443 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311443
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311443#FFFFFF#000000##FFFFFF
##3114431.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022044
Deuteranopia (green-blind)
#0E2242
Tritanopia (blue-blind)
#2F1D29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #311443;
/* rgb */ color: rgb(49, 20, 67);
/* oklch */ color: oklch(26.0% 0.088 310.1);
Tailwind
colors: {
  custom: {
    50: '#6b5377',
    500: '#311443',
    950: '#000000',
  },
}
SCSS
$custom: #311443;
$custom-light: #6b5377;
$custom-dark: #000000;
JSON
{
  "hex": "#311443",
  "rgb": {
    "r": 49,
    "g": 20,
    "b": 67
  },
  "hsl": {
    "h": 277.021,
    "s": 54.023,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26031,
    "c": 0.08794,
    "h": 310.1
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#311443
secondary
#517B38
accent
#DD4A83
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #311443

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

Preview Lab → · Contrast checker → · Palette generator →

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