#311453#311453

#311453 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.108 H 300.4°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#311453
RGBrgb(49, 20, 83)
HSLhsl(268, 61%, 20%)
HSVhsv(268, 76%, 33%)
CMYKcmyk(41%, 75.9%, 0%, 67.5%)
CIE-LABlab(14.28, 28.87, -32.82)
CIE-LCHlch(14.28, 43.71, 311.34°)
OKLaboklab(27.38% 0.0548 -0.0936)
OKLCHoklch(27.38% 0.108 300.4)
XYZxyz(3.0777, 1.7778, 8.3629)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311453 #365314
analogous
#141653 #311453 #501453
triadic
#311453 #533114 #145331
tetradic
#311453 #531416 #365314 #145350
square
#311453 #531416 #365314 #145350
split-complementary
#311453 #535014 #165314
monochromatic
#0F0619 #140822 #311453 #4E2084 #6B2CB6

Accessibility & contrast

On white

15.49
#311453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#311453 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311453
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311453#FFFFFF#000000##FFFFFF
##3114531.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#292331
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #311453;
/* rgb */ color: rgb(49, 20, 83);
/* oklch */ color: oklch(27.4% 0.108 300.4);
Tailwind
colors: {
  custom: {
    50: '#6d5484',
    500: '#311453',
    950: '#000000',
  },
}
SCSS
$custom: #311453;
$custom-light: #6d5484;
$custom-dark: #000000;
JSON
{
  "hex": "#311453",
  "rgb": {
    "r": 49,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 267.619,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27376,
    "c": 0.10843,
    "h": 300.4
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#311453
secondary
#658B38
accent
#E4449A
background
#F6F4F8
surface
#ECE8EF
border
#C7C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #311453

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

Preview Lab → · Contrast checker → · Palette generator →

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