#6D2FAB#6D2FAB

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

Color values

HEX#6D2FAB
RGBrgb(109, 47, 171)
HSLhsl(270, 57%, 43%)
HSVhsv(270, 73%, 67%)
CMYKcmyk(36.3%, 72.5%, 0%, 32.9%)
CIE-LABlab(34.45, 50.78, -55.47)
CIE-LCHlch(34.45, 75.20, 312.47°)
OKLaboklab(45.75% 0.0998 -0.158)
OKLCHoklch(45.75% 0.187 302.3)
XYZxyz(14.6721, 8.2245, 39.3347)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FAB #6DAB2F
analogous
#2F2FAB #6D2FAB #AB2FAB
triadic
#6D2FAB #AB6D2F #2FAB6D
tetradic
#6D2FAB #AB2F2F #6DAB2F #2FABAB
square
#6D2FAB #AB2F2F #6DAB2F #2FABAB
split-complementary
#6D2FAB #ABAB2F #2FAB2F
monochromatic
#30154B #4E227B #6D2FAB #8C4ACD #AA7ADA

Accessibility & contrast

On white

7.94
#6D2FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2FAB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FAB#FFFFFF#000000##FFFFFF
##6D2FAB1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#604D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d2fab;
/* rgb */ color: rgb(109, 47, 171);
/* oklch */ color: oklch(45.8% 0.187 302.3);
Tailwind
colors: {
  custom: {
    50: '#9c6dc5',
    500: '#6d2fab',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fab;
$custom-light: #9c6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fab",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 270,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.18693,
    "h": 302.3
  },
  "luminance": 0.08225
}

Semantic roles & 50–950 ramp

primary
#6D2FAB
secondary
#9BC373
accent
#E04894
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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