#6A1CA0#6A1CA0

#6A1CA0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.195 H 306.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6A1CA0
RGBrgb(106, 28, 160)
HSLhsl(275, 70%, 37%)
HSVhsv(275, 83%, 63%)
CMYKcmyk(33.7%, 82.5%, 0%, 37.3%)
CIE-LABlab(30.48, 55.30, -55.31)
CIE-LCHlch(30.48, 78.21, 314.99°)
OKLaboklab(42.6% 0.1147 -0.1576)
OKLCHoklch(42.6% 0.195 306.1)
XYZxyz(12.7029, 6.4329, 33.8234)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1CA0 #52A01C
analogous
#281CA0 #6A1CA0 #A01C94
triadic
#6A1CA0 #A06A1C #1CA06A
tetradic
#6A1CA0 #A0281C #52A01C #1C94A0
square
#6A1CA0 #A0281C #52A01C #1C94A0
split-complementary
#6A1CA0 #94A01C #1CA028
monochromatic
#250A38 #47136C #6A1CA0 #8D25D4 #A855E1

Accessibility & contrast

On white

9.18
#6A1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6A1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1CA0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1CA0#FFFFFF#000000##FFFFFF
##6A1CA01.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#60405F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a1ca0;
/* rgb */ color: rgb(106, 28, 160);
/* oklch */ color: oklch(42.6% 0.195 306.1);
Tailwind
colors: {
  custom: {
    50: '#9a63bd',
    500: '#6a1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #6a1ca0;
$custom-light: #9a63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1ca0",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 275.455,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.426,
    "c": 0.19493,
    "h": 306.1
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#6A1CA0
secondary
#82C453
accent
#ED3B84
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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