#6D2FAA#6D2FAA

#6D2FAA is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.186 H 302.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6D2FAA
RGBrgb(109, 47, 170)
HSLhsl(270, 57%, 43%)
HSVhsv(270, 72%, 67%)
CMYKcmyk(35.9%, 72.4%, 0%, 33.3%)
CIE-LABlab(34.37, 50.53, -54.99)
CIE-LCHlch(34.37, 74.69, 312.58°)
OKLaboklab(45.67% 0.1 -0.1567)
OKLCHoklch(45.67% 0.186 302.6)
XYZxyz(14.5772, 8.1865, 38.8346)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FAA #6CAA2F
analogous
#302FAA #6D2FAA #AA2FA9
triadic
#6D2FAA #AA6D2F #2FAA6D
tetradic
#6D2FAA #AA302F #6CAA2F #2FA9AA
square
#6D2FAA #AA302F #6CAA2F #2FA9AA
split-complementary
#6D2FAA #A9AA2F #2FAA30
monochromatic
#30144A #4E227A #6D2FAA #8C49CD #AA79DA

Accessibility & contrast

On white

7.96
#6D2FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6D2FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FAA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FAA#FFFFFF#000000##FFFFFF
##6D2FAA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#604D69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2faa;
/* rgb */ color: rgb(109, 47, 170);
/* oklch */ color: oklch(45.7% 0.186 302.6);
Tailwind
colors: {
  custom: {
    50: '#9c6dc4',
    500: '#6d2faa',
    950: '#000000',
  },
}
SCSS
$custom: #6d2faa;
$custom-light: #9c6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2faa",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 270.244,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.18586,
    "h": 302.6
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#6D2FAA
secondary
#9AC272
accent
#E04893
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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