#6E31BF#6E31BF

#6E31BF is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.206 H 297.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6E31BF
RGBrgb(110, 49, 191)
HSLhsl(266, 59%, 47%)
HSVhsv(266, 74%, 75%)
CMYKcmyk(42.4%, 74.3%, 0%, 25.1%)
CIE-LABlab(36.50, 55.01, -63.96)
CIE-LCHlch(36.50, 84.36, 310.70°)
OKLaboklab(47.74% 0.0951 -0.183)
OKLCHoklch(47.74% 0.206 297.5)
XYZxyz(16.9302, 9.2729, 50.1780)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E31BF #82BF31
analogous
#313BBF #6E31BF #B531BF
triadic
#6E31BF #BF6E31 #31BF6E
tetradic
#6E31BF #BF313B #82BF31 #31BFB5
square
#6E31BF #BF313B #82BF31 #31BFB5
split-complementary
#6E31BF #BFB531 #3BBF31
monochromatic
#36185E #52258E #6E31BF #8E59D4 #AF8AE1

Accessibility & contrast

On white

7.36
#6E31BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E31BF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E31BF#FFFFFF#000000##FFFFFF
##6E31BF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#595676
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e31bf;
/* rgb */ color: rgb(110, 49, 191);
/* oklch */ color: oklch(47.7% 0.206 297.5);
Tailwind
colors: {
  custom: {
    50: '#9f6fd3',
    500: '#6e31bf',
    950: '#000000',
  },
}
SCSS
$custom: #6e31bf;
$custom-light: #9f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e31bf",
  "rgb": {
    "r": 110,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 265.775,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.20622,
    "h": 297.5
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

primary
#6E31BF
secondary
#ABCB81
accent
#E2459F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6E31BF

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

Preview Lab → · Contrast checker → · Palette generator →

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