#6A2AAF#6A2AAF

#6A2AAF is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.196 H 300.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6A2AAF
RGBrgb(106, 42, 175)
HSLhsl(269, 61%, 43%)
HSVhsv(269, 76%, 69%)
CMYKcmyk(39.4%, 76%, 0%, 31.4%)
CIE-LABlab(33.59, 53.44, -59.26)
CIE-LCHlch(33.59, 79.80, 312.05°)
OKLaboklab(45.17% 0.0993 -0.1693)
OKLCHoklch(45.17% 0.196 300.4)
XYZxyz(14.5078, 7.8151, 41.2933)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2AAF #6FAF2A
analogous
#2A2DAF #6A2AAF #AC2AAF
triadic
#6A2AAF #AF6A2A #2AAF6A
tetradic
#6A2AAF #AF2A2D #6FAF2A #2AAFAC
square
#6A2AAF #AF2A2D #6FAF2A #2AAFAC
split-complementary
#6A2AAF #AFAC2A #2DAF2A
monochromatic
#2E124C #4C1E7E #6A2AAF #8844D2 #A875DE

Accessibility & contrast

On white

8.19
#6A2AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6A2AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2AAF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2AAF#FFFFFF#000000##FFFFFF
##6A2AAF1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5A4D6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a2aaf;
/* rgb */ color: rgb(106, 42, 175);
/* oklch */ color: oklch(45.2% 0.196 300.4);
Tailwind
colors: {
  custom: {
    50: '#9b6ac8',
    500: '#6a2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #6a2aaf;
$custom-light: #9b6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2aaf",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 268.872,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.19625,
    "h": 300.4
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#6A2AAF
secondary
#9CC66F
accent
#E44397
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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