#6D2EB6#6D2EB6

#6D2EB6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.200 H 299.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6D2EB6
RGBrgb(109, 46, 182)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 71%)
CMYKcmyk(40.1%, 74.7%, 0%, 28.6%)
CIE-LABlab(35.17, 53.94, -60.84)
CIE-LCHlch(35.17, 81.30, 311.56°)
OKLaboklab(46.54% 0.0984 -0.1738)
OKLCHoklch(46.54% 0.2 299.5)
XYZxyz(15.7250, 8.5824, 45.0750)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EB6 #77B62E
analogous
#2E33B6 #6D2EB6 #B12EB6
triadic
#6D2EB6 #B66D2E #2EB66D
tetradic
#6D2EB6 #B62E33 #77B62E #2EB6B1
square
#6D2EB6 #B62E33 #77B62E #2EB6B1
split-complementary
#6D2EB6 #B6B12E #33B62E
monochromatic
#321554 #502285 #6D2EB6 #8C4FD2 #AC80DF

Accessibility & contrast

On white

7.73
#6D2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2EB6
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EB6#FFFFFF#000000##FFFFFF
##6D2EB61.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#5C5170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2eb6;
/* rgb */ color: rgb(109, 46, 182);
/* oklch */ color: oklch(46.5% 0.200 299.5);
Tailwind
colors: {
  custom: {
    50: '#9d6dcd',
    500: '#6d2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #6d2eb6;
$custom-light: #9d6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2eb6",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 267.794,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.19976,
    "h": 299.5
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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