#6D2FAC#6D2FAC

#6D2FAC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.188 H 302.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6D2FAC
RGBrgb(109, 47, 172)
HSLhsl(270, 57%, 43%)
HSVhsv(270, 73%, 67%)
CMYKcmyk(36.6%, 72.7%, 0%, 32.5%)
CIE-LABlab(34.52, 51.02, -55.94)
CIE-LCHlch(34.52, 75.71, 312.37°)
OKLaboklab(45.83% 0.0996 -0.1594)
OKLCHoklch(45.83% 0.188 302)
XYZxyz(14.7678, 8.2627, 39.8386)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FAC #6EAC2F
analogous
#2F2FAC #6D2FAC #AB2FAC
triadic
#6D2FAC #AC6D2F #2FAC6D
tetradic
#6D2FAC #AC2F2F #6EAC2F #2FACAB
square
#6D2FAC #AC2F2F #6EAC2F #2FACAB
split-complementary
#6D2FAC #ACAB2F #2FAC2F
monochromatic
#30154C #4F227C #6D2FAC #8C4BCE #AA7BDB

Accessibility & contrast

On white

7.92
#6D2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2FAC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FAC#FFFFFF#000000##FFFFFF
##6D2FAC1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#604E6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2fac;
/* rgb */ color: rgb(109, 47, 172);
/* oklch */ color: oklch(45.8% 0.188 302.0);
Tailwind
colors: {
  custom: {
    50: '#9c6dc6',
    500: '#6d2fac',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fac;
$custom-light: #9c6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fac",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 269.76,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.18799,
    "h": 302
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#6D2FAC
secondary
#9CC374
accent
#E04795
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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