#311144#311144

#311144 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.094 H 310.2°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#311144
RGBrgb(49, 17, 68)
HSLhsl(278, 60%, 17%)
HSVhsv(278, 75%, 27%)
CMYKcmyk(27.9%, 75%, 0%, 73.3%)
CIE-LABlab(12.42, 26.38, -25.46)
CIE-LCHlch(12.42, 36.66, 316.02°)
OKLaboklab(25.66% 0.0608 -0.0719)
OKLCHoklch(25.66% 0.094 310.2)
XYZxyz(2.5103, 1.4713, 5.6195)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311144 #244411
analogous
#181144 #311144 #44113E
triadic
#311144 #443111 #114431
tetradic
#311144 #441811 #244411 #113E44
square
#311144 #441811 #244411 #113E44
split-complementary
#311144 #3E4411 #114418
monochromatic
#120618 #120618 #311144 #541D75 #7829A6

Accessibility & contrast

On white

16.23
#311144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#311144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311144
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311144#FFFFFF#000000##FFFFFF
##3111441.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#0A2143
Tritanopia (blue-blind)
#2E1C28
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #311144;
/* rgb */ color: rgb(49, 17, 68);
/* oklch */ color: oklch(25.7% 0.094 310.2);
Tailwind
colors: {
  custom: {
    50: '#6b5278',
    500: '#311144',
    950: '#000000',
  },
}
SCSS
$custom: #311144;
$custom-light: #6b5278;
$custom-dark: #000000;
JSON
{
  "hex": "#311144",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 68
  },
  "hsl": {
    "h": 277.647,
    "s": 60,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25657,
    "c": 0.09416,
    "h": 310.2
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#311144
secondary
#4F7E33
accent
#E34580
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #311144

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

Preview Lab → · Contrast checker → · Palette generator →

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