#6A2BA1#6A2BA1

#6A2BA1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.1% C 0.180 H 304.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6A2BA1
RGBrgb(106, 43, 161)
HSLhsl(272, 58%, 40%)
HSVhsv(272, 73%, 63%)
CMYKcmyk(34.2%, 73.3%, 0%, 36.9%)
CIE-LABlab(32.62, 49.60, -52.43)
CIE-LCHlch(32.62, 72.17, 313.41°)
OKLaboklab(44.13% 0.1014 -0.1492)
OKLCHoklch(44.13% 0.18 304.2)
XYZxyz(13.2393, 7.3652, 34.4354)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BA1 #62A12B
analogous
#2F2BA1 #6A2BA1 #A12B9D
triadic
#6A2BA1 #A16A2B #2BA16A
tetradic
#6A2BA1 #A12F2B #62A12B #2B9DA1
square
#6A2BA1 #A12F2B #62A12B #2B9DA1
split-complementary
#6A2BA1 #9DA12B #2BA12F
monochromatic
#2A1140 #4A1E71 #6A2BA1 #893ECB #A76ED8

Accessibility & contrast

On white

8.49
#6A2BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A2BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BA1
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BA1#FFFFFF#000000##FFFFFF
##6A2BA11.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#5F4763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2ba1;
/* rgb */ color: rgb(106, 43, 161);
/* oklch */ color: oklch(44.1% 0.180 304.2);
Tailwind
colors: {
  custom: {
    50: '#9a6abe',
    500: '#6a2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ba1;
$custom-light: #9a6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ba1",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 272.034,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.1804,
    "h": 304.2
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#6A2BA1
secondary
#91BF69
accent
#E1478F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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