#6A2CA3#6A2CA3

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

Color values

HEX#6A2CA3
RGBrgb(106, 44, 163)
HSLhsl(271, 57%, 41%)
HSVhsv(271, 73%, 64%)
CMYKcmyk(35%, 73%, 0%, 36.1%)
CIE-LABlab(32.94, 49.63, -53.12)
CIE-LCHlch(32.94, 72.70, 313.05°)
OKLaboklab(44.4% 0.1 -0.1512)
OKLCHoklch(44.4% 0.181 303.5)
XYZxyz(13.4539, 7.5099, 35.3840)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CA3 #65A32C
analogous
#2F2CA3 #6A2CA3 #A32CA0
triadic
#6A2CA3 #A36A2C #2CA36A
tetradic
#6A2CA3 #A32F2C #65A32C #2CA0A3
square
#6A2CA3 #A32F2C #65A32C #2CA0A3
split-complementary
#6A2CA3 #A0A32C #2CA32F
monochromatic
#2B1243 #4B1F73 #6A2CA3 #8941CC #A771D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A2CA3#FFFFFF#000000##FFFFFF
##6A2CA31.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)
#004CA6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#5F4965
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2ca3;
/* rgb */ color: rgb(106, 44, 163);
/* oklch */ color: oklch(44.4% 0.181 303.5);
Tailwind
colors: {
  custom: {
    50: '#9a6bbf',
    500: '#6a2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ca3;
$custom-light: #9a6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ca3",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 271.261,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.18134,
    "h": 303.5
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#6A2CA3
secondary
#94C06B
accent
#E14791
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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