#6A2DB5#6A2DB5

#6A2DB5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.199 H 298.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6A2DB5
RGBrgb(106, 45, 181)
HSLhsl(267, 60%, 44%)
HSVhsv(267, 75%, 71%)
CMYKcmyk(41.4%, 75.1%, 0%, 29%)
CIE-LABlab(34.55, 53.62, -61.26)
CIE-LCHlch(34.55, 81.41, 311.19°)
OKLaboklab(46% 0.0952 -0.1752)
OKLCHoklch(46% 0.199 298.5)
XYZxyz(15.2206, 8.2769, 44.5028)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2DB5 #78B52D
analogous
#2D34B5 #6A2DB5 #AE2DB5
triadic
#6A2DB5 #B56A2D #2DB56A
tetradic
#6A2DB5 #B52D34 #78B52D #2DB5AE
square
#6A2DB5 #B52D34 #78B52D #2DB5AE
split-complementary
#6A2DB5 #B5AE2D #34B52D
monochromatic
#311553 #4D2184 #6A2DB5 #894DD3 #A97EDF

Accessibility & contrast

On white

7.91
#6A2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2DB5
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2DB5#FFFFFF#000000##FFFFFF
##6A2DB51.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#57516F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2db5;
/* rgb */ color: rgb(106, 45, 181);
/* oklch */ color: oklch(46.0% 0.199 298.5);
Tailwind
colors: {
  custom: {
    50: '#9b6ccc',
    500: '#6a2db5',
    950: '#000000',
  },
}
SCSS
$custom: #6a2db5;
$custom-light: #9b6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2db5",
  "rgb": {
    "r": 106,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 266.912,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45995,
    "c": 0.19938,
    "h": 298.5
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#6A2DB5
secondary
#A3C776
accent
#E3449C
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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