#311053#311053

#311053 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.114 H 301.4°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#311053
RGBrgb(49, 16, 83)
HSLhsl(270, 68%, 19%)
HSVhsv(270, 81%, 33%)
CMYKcmyk(41%, 80.7%, 0%, 67.5%)
CIE-LABlab(13.52, 31.00, -34.04)
CIE-LCHlch(13.52, 46.04, 312.32°)
OKLaboklab(26.84% 0.0593 -0.0971)
OKLCHoklch(26.84% 0.114 301.4)
XYZxyz(3.0129, 1.6481, 8.3413)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311053 #325310
analogous
#101153 #311053 #531053
triadic
#311053 #533110 #105331
tetradic
#311053 #531011 #325310 #105353
square
#311053 #531011 #325310 #105353
split-complementary
#311053 #535310 #115310
monochromatic
#0F051A #130620 #311053 #4F1A86 #6E24BA

Accessibility & contrast

On white

15.79
#311053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311053
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311053#FFFFFF#000000##FFFFFF
##3110531.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002252
Tritanopia (blue-blind)
#2A2130
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #311053;
/* rgb */ color: rgb(49, 16, 83);
/* oklch */ color: oklch(26.8% 0.114 301.4);
Tailwind
colors: {
  custom: {
    50: '#6d5284',
    500: '#311053',
    950: '#000000',
  },
}
SCSS
$custom: #311053;
$custom-light: #6d5284;
$custom-dark: #000000;
JSON
{
  "hex": "#311053",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 269.552,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26841,
    "c": 0.1138,
    "h": 301.4
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#311053
secondary
#608D32
accent
#EB3D95
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #311053

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

Preview Lab → · Contrast checker → · Palette generator →

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