#6D2CB7#6D2CB7

#6D2CB7 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.203 H 299.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6D2CB7
RGBrgb(109, 44, 183)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 72%)
CMYKcmyk(40.4%, 76%, 0%, 28.2%)
CIE-LABlab(34.95, 55.05, -61.79)
CIE-LCHlch(34.95, 82.76, 311.70°)
OKLaboklab(46.41% 0.1 -0.1766)
OKLCHoklch(46.41% 0.203 299.5)
XYZxyz(15.7524, 8.4713, 45.5958)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CB7 #76B72C
analogous
#2C30B7 #6D2CB7 #B32CB7
triadic
#6D2CB7 #B76D2C #2CB76D
tetradic
#6D2CB7 #B72C30 #76B72C #2CB7B3
square
#6D2CB7 #B72C30 #76B72C #2CB7B3
split-complementary
#6D2CB7 #B7B32C #30B72C
monochromatic
#321454 #502086 #6D2CB7 #8C4CD4 #AC7EE0

Accessibility & contrast

On white

7.79
#6D2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6D2CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2CB7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CB7#FFFFFF#000000##FFFFFF
##6D2CB71.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#5B5170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2cb7;
/* rgb */ color: rgb(109, 44, 183);
/* oklch */ color: oklch(46.4% 0.203 299.5);
Tailwind
colors: {
  custom: {
    50: '#9e6cce',
    500: '#6d2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #6d2cb7;
$custom-light: #9e6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2cb7",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 268.058,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.20294,
    "h": 299.5
  },
  "luminance": 0.08471
}

Semantic roles & 50–950 ramp

primary
#6D2CB7
secondary
#A2C876
accent
#E44399
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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