#6A1CA9#6A1CA9

#6A1CA9 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.203 H 303.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6A1CA9
RGBrgb(106, 28, 169)
HSLhsl(273, 72%, 39%)
HSVhsv(273, 83%, 66%)
CMYKcmyk(37.3%, 83.4%, 0%, 33.7%)
CIE-LABlab(31.25, 57.32, -59.49)
CIE-LCHlch(31.25, 82.61, 313.94°)
OKLaboklab(43.38% 0.112 -0.1698)
OKLCHoklch(43.38% 0.203 303.4)
XYZxyz(13.5188, 6.7593, 38.1209)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1CA9 #5BA91C
analogous
#231CA9 #6A1CA9 #A91CA1
triadic
#6A1CA9 #A96A1C #1CA96A
tetradic
#6A1CA9 #A9231C #5BA91C #1CA1A9
square
#6A1CA9 #A9231C #5BA91C #1CA1A9
split-complementary
#6A1CA9 #A1A91C #1CA923
monochromatic
#280B40 #491374 #6A1CA9 #8B27DB #A75BE4

Accessibility & contrast

On white

8.93
#6A1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6A1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1CA9
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1CA9#FFFFFF#000000##FFFFFF
##6A1CA91.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#5D4465
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a1ca9;
/* rgb */ color: rgb(106, 28, 169);
/* oklch */ color: oklch(43.4% 0.203 303.4);
Tailwind
colors: {
  custom: {
    50: '#9b64c4',
    500: '#6a1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #6a1ca9;
$custom-light: #9b64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1ca9",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 273.191,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43375,
    "c": 0.20344,
    "h": 303.4
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#6A1CA9
secondary
#8BC859
accent
#EE398A
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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