#6F31BE#6F31BE

#6F31BE is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.205 H 298.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6F31BE
RGBrgb(111, 49, 190)
HSLhsl(266, 59%, 47%)
HSVhsv(266, 74%, 75%)
CMYKcmyk(41.6%, 74.2%, 0%, 25.5%)
CIE-LABlab(36.54, 54.93, -63.30)
CIE-LCHlch(36.54, 83.81, 310.95°)
OKLaboklab(47.76% 0.0968 -0.181)
OKLCHoklch(47.76% 0.205 298.1)
XYZxyz(16.9457, 9.2936, 49.6062)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F31BE #80BE31
analogous
#313ABE #6F31BE #B631BE
triadic
#6F31BE #BE6F31 #31BE6F
tetradic
#6F31BE #BE313A #80BE31 #31BEB6
square
#6F31BE #BE313A #80BE31 #31BEB6
split-complementary
#6F31BE #BEB631 #3ABE31
monochromatic
#36185D #53248D #6F31BE #8F58D4 #AF89E1

Accessibility & contrast

On white

7.35
#6F31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6F31BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F31BE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F31BE#FFFFFF#000000##FFFFFF
##6F31BE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f31be;
/* rgb */ color: rgb(111, 49, 190);
/* oklch */ color: oklch(47.8% 0.205 298.1);
Tailwind
colors: {
  custom: {
    50: '#9f6fd3',
    500: '#6f31be',
    950: '#000000',
  },
}
SCSS
$custom: #6f31be;
$custom-light: #9f6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f31be",
  "rgb": {
    "r": 111,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 266.383,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47764,
    "c": 0.20527,
    "h": 298.1
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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