#6D2AB8#6D2AB8

#6D2AB8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.206 H 299.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6D2AB8
RGBrgb(109, 42, 184)
HSLhsl(268, 63%, 44%)
HSVhsv(268, 77%, 72%)
CMYKcmyk(40.8%, 77.2%, 0%, 27.8%)
CIE-LABlab(34.74, 56.14, -62.73)
CIE-LCHlch(34.74, 84.18, 311.83°)
OKLaboklab(46.29% 0.1014 -0.1793)
OKLCHoklch(46.29% 0.206 299.5)
XYZxyz(15.7842, 8.3676, 46.1216)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2AB8 #75B82A
analogous
#2A2EB8 #6D2AB8 #B42AB8
triadic
#6D2AB8 #B86D2A #2AB86D
tetradic
#6D2AB8 #B82A2E #75B82A #2AB8B4
square
#6D2AB8 #B82A2E #75B82A #2AB8B4
split-complementary
#6D2AB8 #B8B42A #2EB82A
monochromatic
#321354 #4F1F86 #6D2AB8 #8C4AD6 #AB7BE1

Accessibility & contrast

On white

7.85
#6D2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6D2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2AB8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2AB8#FFFFFF#000000##FFFFFF
##6D2AB81.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#5B5070
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2ab8;
/* rgb */ color: rgb(109, 42, 184);
/* oklch */ color: oklch(46.3% 0.206 299.5);
Tailwind
colors: {
  custom: {
    50: '#9e6bce',
    500: '#6d2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ab8;
$custom-light: #9e6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ab8",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 268.31,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.20602,
    "h": 299.5
  },
  "luminance": 0.08368
}

Semantic roles & 50–950 ramp

primary
#6D2AB8
secondary
#A1C975
accent
#E64299
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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