#6D31BE#6D31BE

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

Color values

HEX#6D31BE
RGBrgb(109, 49, 190)
HSLhsl(266, 59%, 47%)
HSVhsv(266, 74%, 75%)
CMYKcmyk(42.6%, 74.2%, 0%, 25.5%)
CIE-LABlab(36.30, 54.60, -63.71)
CIE-LCHlch(36.30, 83.90, 310.59°)
OKLaboklab(47.54% 0.0939 -0.1823)
OKLCHoklch(47.54% 0.205 297.3)
XYZxyz(16.6968, 9.1652, 49.5946)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D31BE #82BE31
analogous
#313BBE #6D31BE #B431BE
triadic
#6D31BE #BE6D31 #31BE6D
tetradic
#6D31BE #BE313B #82BE31 #31BEB4
square
#6D31BE #BE313B #82BE31 #31BEB4
split-complementary
#6D31BE #BEB431 #3BBE31
monochromatic
#35185D #51248D #6D31BE #8D58D4 #AE89E1

Accessibility & contrast

On white

7.41
#6D31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6D31BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D31BE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D31BE#FFFFFF#000000##FFFFFF
##6D31BE1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#585675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d31be;
/* rgb */ color: rgb(109, 49, 190);
/* oklch */ color: oklch(47.5% 0.205 297.3);
Tailwind
colors: {
  custom: {
    50: '#9e6fd3',
    500: '#6d31be',
    950: '#000000',
  },
}
SCSS
$custom: #6d31be;
$custom-light: #9e6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d31be",
  "rgb": {
    "r": 109,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 265.532,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47539,
    "c": 0.20504,
    "h": 297.3
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#6D31BE
secondary
#ABCA80
accent
#E246A0
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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