#311069#311069

#311069 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.140 H 292.0°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#311069
RGBrgb(49, 16, 105)
HSLhsl(262, 74%, 24%)
HSVhsv(262, 85%, 41%)
CMYKcmyk(53.3%, 84.8%, 0%, 58.8%)
CIE-LABlab(15.71, 37.24, -45.16)
CIE-LCHlch(15.71, 58.54, 309.51°)
OKLaboklab(29.04% 0.0523 -0.1297)
OKLCHoklch(29.04% 0.14 292)
XYZxyz(4.0010, 2.0433, 13.5454)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311069 #486910
analogous
#101B69 #311069 #5D1069
triadic
#311069 #693110 #106931
tetradic
#311069 #69101B #486910 #10695D
square
#311069 #69101B #486910 #10695D
split-complementary
#311069 #695D10 #1B6910
monochromatic
#0C041B #180834 #311069 #4A189E #6320D3

Accessibility & contrast

On white

14.91
#311069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#311069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311069
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311069#FFFFFF#000000##FFFFFF
##3110691.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#1E2A3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #311069;
/* rgb */ color: rgb(49, 16, 105);
/* oklch */ color: oklch(29.0% 0.140 292.0);
Tailwind
colors: {
  custom: {
    50: '#705395',
    500: '#311069',
    950: '#000000',
  },
}
SCSS
$custom: #311069;
$custom-light: #705395;
$custom-dark: #000000;
JSON
{
  "hex": "#311069",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 262.247,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29044,
    "c": 0.1399,
    "h": 292
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#311069
secondary
#79A134
accent
#F038AC
background
#F7F4F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #311069

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

Preview Lab → · Contrast checker → · Palette generator →

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