#6A2EA0#6A2EA0

#6A2EA0 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.176 H 304.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6A2EA0
RGBrgb(106, 46, 160)
HSLhsl(272, 55%, 40%)
HSVhsv(272, 71%, 63%)
CMYKcmyk(33.7%, 71.2%, 0%, 37.3%)
CIE-LABlab(33.04, 47.97, -51.15)
CIE-LCHlch(33.04, 70.12, 313.16°)
OKLaboklab(44.4% 0.0985 -0.1454)
OKLCHoklch(44.4% 0.176 304.1)
XYZxyz(13.2646, 7.5563, 34.0106)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EA0 #64A02E
analogous
#312EA0 #6A2EA0 #A02E9D
triadic
#6A2EA0 #A06A2E #2EA06A
tetradic
#6A2EA0 #A0312E #64A02E #2E9DA0
square
#6A2EA0 #A0312E #64A02E #2E9DA0
split-complementary
#6A2EA0 #9DA02E #2EA031
monochromatic
#2B1341 #4B2070 #6A2EA0 #8942C9 #A772D6

Accessibility & contrast

On white

8.36
#6A2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6A2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EA0
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EA0#FFFFFF#000000##FFFFFF
##6A2EA01.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#604964
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a2ea0;
/* rgb */ color: rgb(106, 46, 160);
/* oklch */ color: oklch(44.4% 0.176 304.1);
Tailwind
colors: {
  custom: {
    50: '#996cbd',
    500: '#6a2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ea0;
$custom-light: #996cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ea0",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 271.579,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.17566,
    "h": 304.1
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

primary
#6A2EA0
secondary
#93BE6C
accent
#DF4990
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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