#6E31B0#6E31B0

#6E31B0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.190 H 301.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6E31B0
RGBrgb(110, 49, 176)
HSLhsl(269, 56%, 44%)
HSVhsv(269, 72%, 69%)
CMYKcmyk(37.5%, 72.2%, 0%, 31%)
CIE-LABlab(35.29, 51.27, -57.06)
CIE-LCHlch(35.29, 76.71, 311.94°)
OKLaboklab(46.5% 0.0983 -0.1627)
OKLCHoklch(46.5% 0.19 301.1)
XYZxyz(15.3633, 8.6461, 41.9253)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E31B0 #73B031
analogous
#3134B0 #6E31B0 #AE31B0
triadic
#6E31B0 #B06E31 #31B06E
tetradic
#6E31B0 #B03134 #73B031 #31B0AE
square
#6E31B0 #B03134 #73B031 #31B0AE
split-complementary
#6E31B0 #B0AE31 #34B031
monochromatic
#321650 #502480 #6E31B0 #8D50CE #AC80DC

Accessibility & contrast

On white

7.69
#6E31B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6E31B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E31B0
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E31B0#FFFFFF#000000##FFFFFF
##6E31B01.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#60506D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e31b0;
/* rgb */ color: rgb(110, 49, 176);
/* oklch */ color: oklch(46.5% 0.190 301.1);
Tailwind
colors: {
  custom: {
    50: '#9d6fc8',
    500: '#6e31b0',
    950: '#000000',
  },
}
SCSS
$custom: #6e31b0;
$custom-light: #9d6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e31b0",
  "rgb": {
    "r": 110,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 268.819,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.19011,
    "h": 301.1
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#6E31B0
secondary
#A0C578
accent
#E04897
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E31B0

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

Preview Lab → · Contrast checker → · Palette generator →

#6E31B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva