#6E31BE#6E31BE

#6E31BE is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.205 H 297.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6E31BE
RGBrgb(110, 49, 190)
HSLhsl(266, 59%, 47%)
HSVhsv(266, 74%, 75%)
CMYKcmyk(42.1%, 74.2%, 0%, 25.5%)
CIE-LABlab(36.42, 54.76, -63.51)
CIE-LCHlch(36.42, 83.86, 310.77°)
OKLaboklab(47.65% 0.0953 -0.1816)
OKLCHoklch(47.65% 0.205 297.7)
XYZxyz(16.8206, 9.2290, 49.6004)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E31BE #81BE31
analogous
#313BBE #6E31BE #B531BE
triadic
#6E31BE #BE6E31 #31BE6E
tetradic
#6E31BE #BE313B #81BE31 #31BEB5
square
#6E31BE #BE313B #81BE31 #31BEB5
split-complementary
#6E31BE #BEB531 #3BBE31
monochromatic
#36185D #52248D #6E31BE #8E58D4 #AF89E1

Accessibility & contrast

On white

7.38
#6E31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6E31BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E31BE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E31BE#FFFFFF#000000##FFFFFF
##6E31BE1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#5A5675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e31be;
/* rgb */ color: rgb(110, 49, 190);
/* oklch */ color: oklch(47.7% 0.205 297.7);
Tailwind
colors: {
  custom: {
    50: '#9f6fd3',
    500: '#6e31be',
    950: '#000000',
  },
}
SCSS
$custom: #6e31be;
$custom-light: #9f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e31be",
  "rgb": {
    "r": 110,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 265.957,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.20515,
    "h": 297.7
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#6E31BE
secondary
#AACA80
accent
#E2469E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6E31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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