#6A31BF#6A31BF

#6A31BF is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.206 H 295.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6A31BF
RGBrgb(106, 49, 191)
HSLhsl(264, 59%, 47%)
HSVhsv(264, 74%, 75%)
CMYKcmyk(44.5%, 74.3%, 0%, 25.1%)
CIE-LABlab(36.03, 54.35, -64.76)
CIE-LCHlch(36.03, 84.55, 310.01°)
OKLaboklab(47.29% 0.0893 -0.1855)
OKLCHoklch(47.29% 0.206 295.7)
XYZxyz(16.4436, 9.0220, 50.1552)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A31BF #86BF31
analogous
#313FBF #6A31BF #B131BF
triadic
#6A31BF #BF6A31 #31BF6A
tetradic
#6A31BF #BF313F #86BF31 #31BFB1
square
#6A31BF #BF313F #86BF31 #31BFB1
split-complementary
#6A31BF #BFB131 #3FBF31
monochromatic
#34185E #4F258E #6A31BF #8A59D4 #AD8AE1

Accessibility & contrast

On white

7.49
#6A31BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A31BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A31BF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A31BF#FFFFFF#000000##FFFFFF
##6A31BF1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#535776
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a31bf;
/* rgb */ color: rgb(106, 49, 191);
/* oklch */ color: oklch(47.3% 0.206 295.7);
Tailwind
colors: {
  custom: {
    50: '#9c6fd3',
    500: '#6a31bf',
    950: '#000000',
  },
}
SCSS
$custom: #6a31bf;
$custom-light: #9c6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a31bf",
  "rgb": {
    "r": 106,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 264.085,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47292,
    "c": 0.20584,
    "h": 295.7
  },
  "luminance": 0.09022
}

Semantic roles & 50–950 ramp

primary
#6A31BF
secondary
#ADCB81
accent
#E245A3
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A31BF

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

Preview Lab → · Contrast checker → · Palette generator →

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