#6A2EA3#6A2EA3

#6A2EA3 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.179 H 303.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6A2EA3
RGBrgb(106, 46, 163)
HSLhsl(271, 56%, 41%)
HSVhsv(271, 72%, 64%)
CMYKcmyk(35%, 71.8%, 0%, 36.1%)
CIE-LABlab(33.27, 48.70, -52.59)
CIE-LCHlch(33.27, 71.67, 312.80°)
OKLaboklab(44.64% 0.098 -0.1497)
OKLCHoklch(44.64% 0.179 303.2)
XYZxyz(13.5302, 7.6625, 35.4094)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EA3 #67A32E
analogous
#2F2EA3 #6A2EA3 #A32EA1
triadic
#6A2EA3 #A36A2E #2EA36A
tetradic
#6A2EA3 #A32F2E #67A32E #2EA1A3
square
#6A2EA3 #A32F2E #67A32E #2EA1A3
split-complementary
#6A2EA3 #A1A32E #2EA32F
monochromatic
#2C1344 #4B2173 #6A2EA3 #8944CA #A774D8

Accessibility & contrast

On white

8.29
#6A2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6A2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EA3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EA3#FFFFFF#000000##FFFFFF
##6A2EA31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#5F4A65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2ea3;
/* rgb */ color: rgb(106, 46, 163);
/* oklch */ color: oklch(44.6% 0.179 303.2);
Tailwind
colors: {
  custom: {
    50: '#9a6cbf',
    500: '#6a2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ea3;
$custom-light: #9a6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ea3",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 270.769,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.17892,
    "h": 303.2
  },
  "luminance": 0.07663
}

Semantic roles & 50–950 ramp

primary
#6A2EA3
secondary
#95BF6D
accent
#DF4992
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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