#6A2EA9#6A2EA9

#6A2EA9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.185 H 301.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6A2EA9
RGBrgb(106, 46, 169)
HSLhsl(269, 57%, 42%)
HSVhsv(269, 73%, 66%)
CMYKcmyk(37.3%, 72.8%, 0%, 33.7%)
CIE-LABlab(33.74, 50.18, -55.44)
CIE-LCHlch(33.74, 74.77, 312.15°)
OKLaboklab(45.12% 0.0969 -0.1581)
OKLCHoklch(45.12% 0.185 301.5)
XYZxyz(14.0806, 7.8827, 38.3081)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EA9 #6DA92E
analogous
#2E30A9 #6A2EA9 #A72EA9
triadic
#6A2EA9 #A96A2E #2EA96A
tetradic
#6A2EA9 #A92E30 #6DA92E #2EA9A7
square
#6A2EA9 #A92E30 #6DA92E #2EA9A7
split-complementary
#6A2EA9 #A9A72E #30A92E
monochromatic
#2E1449 #4C2179 #6A2EA9 #8847CD #A777DA

Accessibility & contrast

On white

8.15
#6A2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2EA9
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EA9#FFFFFF#000000##FFFFFF
##6A2EA91.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#5C4C69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a2ea9;
/* rgb */ color: rgb(106, 46, 169);
/* oklch */ color: oklch(45.1% 0.185 301.5);
Tailwind
colors: {
  custom: {
    50: '#9a6cc3',
    500: '#6a2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ea9;
$custom-light: #9a6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ea9",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 269.268,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.18539,
    "h": 301.5
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#6A2EA9
secondary
#9AC271
accent
#E04796
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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