#6C2FAD#6C2FAD

#6C2FAD is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.189 H 301.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6C2FAD
RGBrgb(108, 47, 173)
HSLhsl(269, 57%, 43%)
HSVhsv(269, 73%, 68%)
CMYKcmyk(37.6%, 72.8%, 0%, 32.2%)
CIE-LABlab(34.47, 51.08, -56.62)
CIE-LCHlch(34.47, 76.26, 312.06°)
OKLaboklab(45.79% 0.098 -0.1615)
OKLCHoklch(45.79% 0.189 301.3)
XYZxyz(14.7418, 8.2382, 40.3405)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2FAD #70AD2F
analogous
#2F31AD #6C2FAD #AB2FAD
triadic
#6C2FAD #AD6C2F #2FAD6C
tetradic
#6C2FAD #AD2F31 #70AD2F #2FADAB
square
#6C2FAD #AD2F31 #70AD2F #2FADAB
split-complementary
#6C2FAD #ADAB2F #31AD2F
monochromatic
#30154D #4E227D #6C2FAD #8B4BCE #AA7BDB

Accessibility & contrast

On white

7.93
#6C2FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6C2FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2FAD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2FAD#FFFFFF#000000##FFFFFF
##6C2FAD1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#5E4E6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c2fad;
/* rgb */ color: rgb(108, 47, 173);
/* oklch */ color: oklch(45.8% 0.189 301.3);
Tailwind
colors: {
  custom: {
    50: '#9c6dc6',
    500: '#6c2fad',
    950: '#000000',
  },
}
SCSS
$custom: #6c2fad;
$custom-light: #9c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2fad",
  "rgb": {
    "r": 108,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 269.048,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45793,
    "c": 0.18889,
    "h": 301.3
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#6C2FAD
secondary
#9DC474
accent
#E14796
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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