#6A2DB6#6A2DB6

#6A2DB6 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.200 H 298.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6A2DB6
RGBrgb(106, 45, 182)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 71%)
CMYKcmyk(41.8%, 75.3%, 0%, 28.6%)
CIE-LABlab(34.64, 53.87, -61.72)
CIE-LCHlch(34.64, 81.92, 311.11°)
OKLaboklab(46.08% 0.095 -0.1765)
OKLCHoklch(46.08% 0.2 298.3)
XYZxyz(15.3236, 8.3181, 45.0451)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2DB6 #79B62D
analogous
#2D35B6 #6A2DB6 #AE2DB6
triadic
#6A2DB6 #B66A2D #2DB66A
tetradic
#6A2DB6 #B62D35 #79B62D #2DB6AE
square
#6A2DB6 #B62D35 #79B62D #2DB6AE
split-complementary
#6A2DB6 #B6AE2D #35B62D
monochromatic
#311554 #4D2185 #6A2DB6 #894DD3 #A97EDF

Accessibility & contrast

On white

7.88
#6A2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6A2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2DB6
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2DB6#FFFFFF#000000##FFFFFF
##6A2DB61.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#575170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2db6;
/* rgb */ color: rgb(106, 45, 182);
/* oklch */ color: oklch(46.1% 0.200 298.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ccd',
    500: '#6a2db6',
    950: '#000000',
  },
}
SCSS
$custom: #6a2db6;
$custom-light: #9c6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2db6",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 266.715,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4608,
    "c": 0.20044,
    "h": 298.3
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#6A2DB6
secondary
#A4C877
accent
#E3449D
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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