#6B31BF#6B31BF

#6B31BF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.206 H 296.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6B31BF
RGBrgb(107, 49, 191)
HSLhsl(265, 59%, 47%)
HSVhsv(265, 74%, 75%)
CMYKcmyk(44%, 74.3%, 0%, 25.1%)
CIE-LABlab(36.14, 54.52, -64.56)
CIE-LCHlch(36.14, 84.50, 310.18°)
OKLaboklab(47.4% 0.0907 -0.1848)
OKLCHoklch(47.4% 0.206 296.1)
XYZxyz(16.5632, 9.0836, 50.1608)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B31BF #85BF31
analogous
#313EBF #6B31BF #B231BF
triadic
#6B31BF #BF6B31 #31BF6B
tetradic
#6B31BF #BF313E #85BF31 #31BFB2
square
#6B31BF #BF313E #85BF31 #31BFB2
split-complementary
#6B31BF #BFB231 #3EBF31
monochromatic
#34185E #50258E #6B31BF #8B59D4 #AD8AE1

Accessibility & contrast

On white

7.46
#6B31BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6B31BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B31BF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B31BF#FFFFFF#000000##FFFFFF
##6B31BF1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b31bf;
/* rgb */ color: rgb(107, 49, 191);
/* oklch */ color: oklch(47.4% 0.206 296.1);
Tailwind
colors: {
  custom: {
    50: '#9d6fd3',
    500: '#6b31bf',
    950: '#000000',
  },
}
SCSS
$custom: #6b31bf;
$custom-light: #9d6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b31bf",
  "rgb": {
    "r": 107,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 264.507,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47402,
    "c": 0.20592,
    "h": 296.1
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B31BF

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

Preview Lab → · Contrast checker → · Palette generator →

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