#311344#311344

#311344 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.091 H 309.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#311344
RGBrgb(49, 19, 68)
HSLhsl(277, 56%, 17%)
HSVhsv(277, 72%, 27%)
CMYKcmyk(27.9%, 72.1%, 0%, 73.3%)
CIE-LABlab(12.84, 25.25, -24.79)
CIE-LCHlch(12.84, 35.39, 315.52°)
OKLaboklab(25.95% 0.058 -0.07)
OKLCHoklch(25.95% 0.091 309.7)
XYZxyz(2.5427, 1.5361, 5.6303)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311344 #264413
analogous
#191344 #311344 #44133F
triadic
#311344 #443113 #134431
tetradic
#311344 #441913 #264413 #133F44
square
#311344 #441913 #264413 #133F44
split-complementary
#311344 #3F4413 #134419
monochromatic
#110718 #110718 #311344 #532074 #762EA4

Accessibility & contrast

On white

16.06
#311344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311344
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311344#FFFFFF#000000##FFFFFF
##3113441.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#0C2243
Tritanopia (blue-blind)
#2E1D29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #311344;
/* rgb */ color: rgb(49, 19, 68);
/* oklch */ color: oklch(26.0% 0.091 309.7);
Tailwind
colors: {
  custom: {
    50: '#6b5378',
    500: '#311344',
    950: '#000000',
  },
}
SCSS
$custom: #311344;
$custom-light: #6b5378;
$custom-dark: #000000;
JSON
{
  "hex": "#311344",
  "rgb": {
    "r": 49,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 276.735,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25954,
    "c": 0.09091,
    "h": 309.7
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#311344
secondary
#517D36
accent
#E04883
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #311344

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

Preview Lab → · Contrast checker → · Palette generator →

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