#6D2EB2#6D2EB2

#6D2EB2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.196 H 300.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6D2EB2
RGBrgb(109, 46, 178)
HSLhsl(269, 59%, 44%)
HSVhsv(269, 74%, 70%)
CMYKcmyk(38.8%, 74.2%, 0%, 30.2%)
CIE-LABlab(34.84, 52.95, -59.00)
CIE-LCHlch(34.84, 79.27, 311.91°)
OKLaboklab(46.21% 0.0993 -0.1684)
OKLCHoklch(46.21% 0.196 300.5)
XYZxyz(15.3176, 8.4194, 42.9290)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EB2 #73B22E
analogous
#2E31B2 #6D2EB2 #AF2EB2
triadic
#6D2EB2 #B26D2E #2EB26D
tetradic
#6D2EB2 #B22E31 #73B22E #2EB2AF
square
#6D2EB2 #B22E31 #73B22E #2EB2AF
split-complementary
#6D2EB2 #B2AF2E #31B22E
monochromatic
#311551 #4F2181 #6D2EB2 #8C4CD1 #AB7DDD

Accessibility & contrast

On white

7.82
#6D2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6D2EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EB2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EB2#FFFFFF#000000##FFFFFF
##6D2EB21.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#5D4F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2eb2;
/* rgb */ color: rgb(109, 46, 178);
/* oklch */ color: oklch(46.2% 0.196 300.5);
Tailwind
colors: {
  custom: {
    50: '#9d6dca',
    500: '#6d2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eb2;
$custom-light: #9d6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eb2",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 268.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46205,
    "c": 0.19553,
    "h": 300.5
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#6D2EB2
secondary
#A0C676
accent
#E24697
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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