#6D2EB8#6D2EB8

#6D2EB8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.202 H 299.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6D2EB8
RGBrgb(109, 46, 184)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 72%)
CMYKcmyk(40.8%, 75%, 0%, 27.8%)
CIE-LABlab(35.33, 54.43, -61.75)
CIE-LCHlch(35.33, 82.32, 311.39°)
OKLaboklab(46.7% 0.098 -0.1765)
OKLCHoklch(46.7% 0.202 299)
XYZxyz(15.9332, 8.6657, 46.1713)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EB8 #79B82E
analogous
#2E34B8 #6D2EB8 #B22EB8
triadic
#6D2EB8 #B86D2E #2EB86D
tetradic
#6D2EB8 #B82E34 #79B82E #2EB8B2
square
#6D2EB8 #B82E34 #79B82E #2EB8B2
split-complementary
#6D2EB8 #B8B22E #34B82E
monochromatic
#331656 #502287 #6D2EB8 #8C50D3 #AC81DF

Accessibility & contrast

On white

7.68
#6D2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6D2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EB8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EB8#FFFFFF#000000##FFFFFF
##6D2EB81.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#5B5271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2eb8;
/* rgb */ color: rgb(109, 46, 184);
/* oklch */ color: oklch(46.7% 0.202 299.0);
Tailwind
colors: {
  custom: {
    50: '#9e6dce',
    500: '#6d2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eb8;
$custom-light: #9e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eb8",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 267.391,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46704,
    "c": 0.20188,
    "h": 299
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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