#6C31BE#6C31BE

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

Color values

HEX#6C31BE
RGBrgb(108, 49, 190)
HSLhsl(265, 59%, 47%)
HSVhsv(265, 74%, 75%)
CMYKcmyk(43.2%, 74.2%, 0%, 25.5%)
CIE-LABlab(36.18, 54.43, -63.91)
CIE-LCHlch(36.18, 83.95, 310.42°)
OKLaboklab(47.43% 0.0924 -0.1829)
OKLCHoklch(47.43% 0.205 296.8)
XYZxyz(16.5745, 9.1021, 49.5888)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C31BE #83BE31
analogous
#313DBE #6C31BE #B331BE
triadic
#6C31BE #BE6C31 #31BE6C
tetradic
#6C31BE #BE313D #83BE31 #31BEB3
square
#6C31BE #BE313D #83BE31 #31BEB3
split-complementary
#6C31BE #BEB331 #3DBE31
monochromatic
#35185D #50248D #6C31BE #8C58D4 #AE89E1

Accessibility & contrast

On white

7.45
#6C31BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C31BE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C31BE#FFFFFF#000000##FFFFFF
##6C31BE1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c31be;
/* rgb */ color: rgb(108, 49, 190);
/* oklch */ color: oklch(47.4% 0.205 296.8);
Tailwind
colors: {
  custom: {
    50: '#9d6fd3',
    500: '#6c31be',
    950: '#000000',
  },
}
SCSS
$custom: #6c31be;
$custom-light: #9d6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c31be",
  "rgb": {
    "r": 108,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 265.106,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47428,
    "c": 0.20494,
    "h": 296.8
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C31BE

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

Preview Lab → · Contrast checker → · Palette generator →

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