#6D2FAF#6D2FAF

#6D2FAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.191 H 301.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6D2FAF
RGBrgb(109, 47, 175)
HSLhsl(269, 58%, 44%)
HSVhsv(269, 73%, 69%)
CMYKcmyk(37.7%, 73.1%, 0%, 31.4%)
CIE-LABlab(34.76, 51.76, -57.34)
CIE-LCHlch(34.76, 77.25, 312.07°)
OKLaboklab(46.07% 0.099 -0.1636)
OKLCHoklch(46.07% 0.191 301.2)
XYZxyz(15.0592, 8.3793, 41.3731)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FAF #71AF2F
analogous
#2F31AF #6D2FAF #AD2FAF
triadic
#6D2FAF #AF6D2F #2FAF6D
tetradic
#6D2FAF #AF2F31 #71AF2F #2FAFAD
square
#6D2FAF #AF2F31 #71AF2F #2FAFAD
split-complementary
#6D2FAF #AFAD2F #31AF2F
monochromatic
#31154F #4F227F #6D2FAF #8C4CCF #AB7CDC

Accessibility & contrast

On white

7.85
#6D2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6D2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FAF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FAF#FFFFFF#000000##FFFFFF
##6D2FAF1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#5F4F6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2faf;
/* rgb */ color: rgb(109, 47, 175);
/* oklch */ color: oklch(46.1% 0.191 301.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dc8',
    500: '#6d2faf',
    950: '#000000',
  },
}
SCSS
$custom: #6d2faf;
$custom-light: #9d6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2faf",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 269.063,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46073,
    "c": 0.1912,
    "h": 301.2
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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