#6D2FAD#6D2FAD

#6D2FAD is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.189 H 301.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6D2FAD
RGBrgb(109, 47, 173)
HSLhsl(270, 57%, 43%)
HSVhsv(270, 73%, 68%)
CMYKcmyk(37%, 72.8%, 0%, 32.2%)
CIE-LABlab(34.60, 51.27, -56.41)
CIE-LCHlch(34.60, 76.22, 312.27°)
OKLaboklab(45.91% 0.0994 -0.1608)
OKLCHoklch(45.91% 0.189 301.7)
XYZxyz(14.8642, 8.3013, 40.3463)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FAD #6FAD2F
analogous
#2F30AD #6D2FAD #AC2FAD
triadic
#6D2FAD #AD6D2F #2FAD6D
tetradic
#6D2FAD #AD2F30 #6FAD2F #2FADAC
square
#6D2FAD #AD2F30 #6FAD2F #2FADAC
split-complementary
#6D2FAD #ADAC2F #30AD2F
monochromatic
#30154D #4F227D #6D2FAD #8C4BCE #AA7BDB

Accessibility & contrast

On white

7.89
#6D2FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6D2FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FAD
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FAD#FFFFFF#000000##FFFFFF
##6D2FAD1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d2fad;
/* rgb */ color: rgb(109, 47, 173);
/* oklch */ color: oklch(45.9% 0.189 301.7);
Tailwind
colors: {
  custom: {
    50: '#9c6dc6',
    500: '#6d2fad',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fad;
$custom-light: #9c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fad",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 269.524,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.18907,
    "h": 301.7
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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