#6A2CB6#6A2CB6

#6A2CB6 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.201 H 298.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6A2CB6
RGBrgb(106, 44, 182)
HSLhsl(267, 61%, 44%)
HSVhsv(267, 76%, 71%)
CMYKcmyk(41.8%, 75.8%, 0%, 28.6%)
CIE-LABlab(34.48, 54.31, -61.97)
CIE-LCHlch(34.48, 82.40, 311.23°)
OKLaboklab(45.97% 0.0958 -0.1772)
OKLCHoklch(45.97% 0.201 298.4)
XYZxyz(15.2859, 8.2427, 45.0325)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CB6 #78B62C
analogous
#2C33B6 #6A2CB6 #AF2CB6
triadic
#6A2CB6 #B66A2C #2CB66A
tetradic
#6A2CB6 #B62C33 #78B62C #2CB6AF
square
#6A2CB6 #B62C33 #78B62C #2CB6AF
split-complementary
#6A2CB6 #B6AF2C #33B62C
monochromatic
#311453 #4D2085 #6A2CB6 #894CD4 #A97DE0

Accessibility & contrast

On white

7.93
#6A2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6A2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CB6
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CB6#FFFFFF#000000##FFFFFF
##6A2CB61.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#57506F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2cb6;
/* rgb */ color: rgb(106, 44, 182);
/* oklch */ color: oklch(46.0% 0.201 298.4);
Tailwind
colors: {
  custom: {
    50: '#9c6ccd',
    500: '#6a2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cb6;
$custom-light: #9c6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cb6",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 266.957,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45972,
    "c": 0.20149,
    "h": 298.4
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#6A2CB6
secondary
#A3C876
accent
#E4449C
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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