#6A2BA5#6A2BA5

#6A2BA5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.185 H 303.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6A2BA5
RGBrgb(106, 43, 165)
HSLhsl(271, 59%, 41%)
HSVhsv(271, 74%, 65%)
CMYKcmyk(35.8%, 73.9%, 0%, 35.3%)
CIE-LABlab(32.94, 50.57, -54.33)
CIE-LCHlch(32.94, 74.22, 312.94°)
OKLaboklab(44.45% 0.1006 -0.1548)
OKLCHoklch(44.45% 0.185 303)
XYZxyz(13.5977, 7.5085, 36.3229)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BA5 #66A52B
analogous
#2D2BA5 #6A2BA5 #A52BA3
triadic
#6A2BA5 #A56A2B #2BA56A
tetradic
#6A2BA5 #A52D2B #66A52B #2BA3A5
square
#6A2BA5 #A52D2B #66A52B #2BA3A5
split-complementary
#6A2BA5 #A3A52B #2BA52D
monochromatic
#2C1244 #4B1E74 #6A2BA5 #8940CD #A771DA

Accessibility & contrast

On white

8.39
#6A2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6A2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BA5
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BA5#FFFFFF#000000##FFFFFF
##6A2BA51.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#5E4966
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2ba5;
/* rgb */ color: rgb(106, 43, 165);
/* oklch */ color: oklch(44.5% 0.185 303.0);
Tailwind
colors: {
  custom: {
    50: '#9a6ac1',
    500: '#6a2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ba5;
$custom-light: #9a6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ba5",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 270.984,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44451,
    "c": 0.18463,
    "h": 303
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#6A2BA5
secondary
#94C16B
accent
#E24691
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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