#6D2EB7#6D2EB7

#6D2EB7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.201 H 299.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6D2EB7
RGBrgb(109, 46, 183)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 72%)
CMYKcmyk(40.4%, 74.9%, 0%, 28.2%)
CIE-LABlab(35.25, 54.18, -61.30)
CIE-LCHlch(35.25, 81.81, 311.48°)
OKLaboklab(46.62% 0.0982 -0.1752)
OKLCHoklch(46.62% 0.201 299.3)
XYZxyz(15.8288, 8.6239, 45.6212)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EB7 #78B72E
analogous
#2E34B7 #6D2EB7 #B12EB7
triadic
#6D2EB7 #B76D2E #2EB76D
tetradic
#6D2EB7 #B72E34 #78B72E #2EB7B1
square
#6D2EB7 #B72E34 #78B72E #2EB7B1
split-complementary
#6D2EB7 #B7B12E #34B72E
monochromatic
#331555 #502286 #6D2EB7 #8C4FD3 #AC80DF

Accessibility & contrast

On white

7.71
#6D2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6D2EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EB7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EB7#FFFFFF#000000##FFFFFF
##6D2EB71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#5B5270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2eb7;
/* rgb */ color: rgb(109, 46, 183);
/* oklch */ color: oklch(46.6% 0.201 299.3);
Tailwind
colors: {
  custom: {
    50: '#9d6dce',
    500: '#6d2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eb7;
$custom-light: #9d6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eb7",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 267.591,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4662,
    "c": 0.20082,
    "h": 299.3
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#6D2EB7
secondary
#A4C879
accent
#E3459A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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