#6A2CA1#6A2CA1

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

Color values

HEX#6A2CA1
RGBrgb(106, 44, 161)
HSLhsl(272, 57%, 40%)
HSVhsv(272, 73%, 63%)
CMYKcmyk(34.2%, 72.7%, 0%, 36.9%)
CIE-LABlab(32.79, 49.14, -52.17)
CIE-LCHlch(32.79, 71.67, 313.29°)
OKLaboklab(44.25% 0.1004 -0.1484)
OKLCHoklch(44.25% 0.179 304.1)
XYZxyz(13.2761, 7.4388, 34.4477)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CA1 #63A12C
analogous
#302CA1 #6A2CA1 #A12C9D
triadic
#6A2CA1 #A16A2C #2CA16A
tetradic
#6A2CA1 #A1302C #63A12C #2C9DA1
square
#6A2CA1 #A1302C #63A12C #2C9DA1
split-complementary
#6A2CA1 #9DA12C #2CA130
monochromatic
#2B1241 #4A1F71 #6A2CA1 #8940CB #A770D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A2CA1#FFFFFF#000000##FFFFFF
##6A2CA11.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)
#004CA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#5F4864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a2ca1;
/* rgb */ color: rgb(106, 44, 161);
/* oklch */ color: oklch(44.2% 0.179 304.1);
Tailwind
colors: {
  custom: {
    50: '#9a6bbe',
    500: '#6a2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6a2ca1;
$custom-light: #9a6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2ca1",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 271.795,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44246,
    "c": 0.17921,
    "h": 304.1
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#6A2CA1
secondary
#92BF6A
accent
#E0478F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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