#6A2BA3#6A2BA3

#6A2BA3 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.183 H 303.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6A2BA3
RGBrgb(106, 43, 163)
HSLhsl(272, 58%, 40%)
HSVhsv(272, 74%, 64%)
CMYKcmyk(35%, 73.6%, 0%, 36.1%)
CIE-LABlab(32.78, 50.08, -53.38)
CIE-LCHlch(32.78, 73.20, 313.17°)
OKLaboklab(44.29% 0.101 -0.152)
OKLCHoklch(44.29% 0.183 303.6)
XYZxyz(13.4171, 7.4363, 35.3717)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BA3 #64A32B
analogous
#2E2BA3 #6A2BA3 #A32BA0
triadic
#6A2BA3 #A36A2B #2BA36A
tetradic
#6A2BA3 #A32E2B #64A32B #2BA0A3
square
#6A2BA3 #A32E2B #64A32B #2BA0A3
split-complementary
#6A2BA3 #A0A32B #2BA32E
monochromatic
#2B1142 #4B1E73 #6A2BA3 #893FCC #A76FD9

Accessibility & contrast

On white

8.44
#6A2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6A2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BA3
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BA3#FFFFFF#000000##FFFFFF
##6A2BA31.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#5F4864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2ba3;
/* rgb */ color: rgb(106, 43, 163);
/* oklch */ color: oklch(44.3% 0.183 303.6);
Tailwind
colors: {
  custom: {
    50: '#9a6abf',
    500: '#6a2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ba3;
$custom-light: #9a6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ba3",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 271.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44291,
    "c": 0.18252,
    "h": 303.6
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#6A2BA3
secondary
#93C06A
accent
#E14690
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6A2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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