#311369#311369

#311369 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.137 H 291.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#311369
RGBrgb(49, 19, 105)
HSLhsl(261, 69%, 24%)
HSVhsv(261, 82%, 41%)
CMYKcmyk(53.3%, 81.9%, 0%, 58.8%)
CIE-LABlab(16.20, 35.84, -44.37)
CIE-LCHlch(16.20, 57.03, 308.93°)
OKLaboklab(29.38% 0.05 -0.1274)
OKLCHoklch(29.38% 0.137 291.4)
XYZxyz(4.0486, 2.1385, 13.5613)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311369 #4B6913
analogous
#132069 #311369 #5C1369
triadic
#311369 #693113 #136931
tetradic
#311369 #691320 #4B6913 #13695C
square
#311369 #691320 #4B6913 #13695C
split-complementary
#311369 #695C13 #206913
monochromatic
#0C051A #190A35 #311369 #491C9D #6126D1

Accessibility & contrast

On white

14.71
#311369 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#311369 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311369
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311369#FFFFFF#000000##FFFFFF
##3113691.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#1E2B3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #311369;
/* rgb */ color: rgb(49, 19, 105);
/* oklch */ color: oklch(29.4% 0.137 291.4);
Tailwind
colors: {
  custom: {
    50: '#705595',
    500: '#311369',
    950: '#000000',
  },
}
SCSS
$custom: #311369;
$custom-light: #705595;
$custom-dark: #000000;
JSON
{
  "hex": "#311369",
  "rgb": {
    "r": 49,
    "g": 19,
    "b": 105
  },
  "hsl": {
    "h": 260.93,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29381,
    "c": 0.13689,
    "h": 291.4
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#311369
secondary
#7CA038
accent
#EC3CAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #311369

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

Preview Lab → · Contrast checker → · Palette generator →

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