#6A2CAE#6A2CAE

#6A2CAE is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.193 H 300.4°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6A2CAE
RGBrgb(106, 44, 174)
HSLhsl(269, 60%, 43%)
HSVhsv(269, 75%, 68%)
CMYKcmyk(39.1%, 74.7%, 0%, 31.8%)
CIE-LABlab(33.82, 52.32, -58.30)
CIE-LCHlch(33.82, 78.33, 311.91°)
OKLaboklab(45.3% 0.0977 -0.1665)
OKLCHoklch(45.3% 0.193 300.4)
XYZxyz(14.4826, 7.9214, 40.8022)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CAE #70AE2C
analogous
#2C2FAE #6A2CAE #AB2CAE
triadic
#6A2CAE #AE6A2C #2CAE6A
tetradic
#6A2CAE #AE2C2F #70AE2C #2CAEAB
square
#6A2CAE #AE2C2F #70AE2C #2CAEAB
split-complementary
#6A2CAE #AEAB2C #2FAE2C
monochromatic
#2E134C #4C207D #6A2CAE #8847D0 #A878DD

Accessibility & contrast

On white

8.13
#6A2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6A2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CAE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CAE#FFFFFF#000000##FFFFFF
##6A2CAE1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#5A4D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2cae;
/* rgb */ color: rgb(106, 44, 174);
/* oklch */ color: oklch(45.3% 0.193 300.4);
Tailwind
colors: {
  custom: {
    50: '#9b6bc7',
    500: '#6a2cae',
    950: '#000000',
  },
}
SCSS
$custom: #6a2cae;
$custom-light: #9b6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2cae",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 268.615,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.19303,
    "h": 300.4
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#6A2CAE
secondary
#9DC571
accent
#E34598
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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