#311067#311067

#311067 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.138 H 292.7°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#311067
RGBrgb(49, 16, 103)
HSLhsl(263, 73%, 23%)
HSVhsv(263, 84%, 40%)
CMYKcmyk(52.4%, 84.5%, 0%, 59.6%)
CIE-LABlab(15.50, 36.67, -44.20)
CIE-LCHlch(15.50, 57.42, 309.68°)
OKLaboklab(28.83% 0.053 -0.1269)
OKLCHoklch(28.83% 0.138 292.7)
XYZxyz(3.8994, 2.0027, 13.0104)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311067 #466710
analogous
#101A67 #311067 #5C1067
triadic
#311067 #673110 #106731
tetradic
#311067 #67101A #466710 #10675C
square
#311067 #67101A #466710 #10675C
split-complementary
#311067 #675C10 #1A6710
monochromatic
#0D041A #180832 #311067 #4A189C #6320D1

Accessibility & contrast

On white

14.99
#311067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#311067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311067
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311067#FFFFFF#000000##FFFFFF
##3110671.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#1F293C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #311067;
/* rgb */ color: rgb(49, 16, 103);
/* oklch */ color: oklch(28.8% 0.138 292.7);
Tailwind
colors: {
  custom: {
    50: '#705393',
    500: '#311067',
    950: '#000000',
  },
}
SCSS
$custom: #311067;
$custom-light: #705393;
$custom-dark: #000000;
JSON
{
  "hex": "#311067",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 262.759,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28834,
    "c": 0.13755,
    "h": 292.7
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#311067
secondary
#769F33
accent
#F038AA
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #311067

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

Preview Lab → · Contrast checker → · Palette generator →

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