#6F2FA7#6F2FA7

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

Color values

HEX#6F2FA7
RGBrgb(111, 47, 167)
HSLhsl(272, 56%, 42%)
HSVhsv(272, 72%, 65%)
CMYKcmyk(33.5%, 71.9%, 0%, 34.5%)
CIE-LABlab(34.40, 50.20, -53.13)
CIE-LCHlch(34.40, 73.09, 313.38°)
OKLaboklab(45.68% 0.1034 -0.1511)
OKLCHoklch(45.68% 0.183 304.4)
XYZxyz(14.5455, 8.2026, 37.3687)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA7 #67A72F
analogous
#332FA7 #6F2FA7 #A72FA3
triadic
#6F2FA7 #A76F2F #2FA76F
tetradic
#6F2FA7 #A7332F #67A72F #2FA3A7
square
#6F2FA7 #A7332F #67A72F #2FA3A7
split-complementary
#6F2FA7 #A3A72F #2FA733
monochromatic
#301447 #4F2277 #6F2FA7 #8E48CB #AB78D9

Accessibility & contrast

On white

7.95
#6F2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2FA7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA7#FFFFFF#000000##FFFFFF
##6F2FA71.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#644B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2fa7;
/* rgb */ color: rgb(111, 47, 167);
/* oklch */ color: oklch(45.7% 0.183 304.4);
Tailwind
colors: {
  custom: {
    50: '#9d6dc2',
    500: '#6f2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa7;
$custom-light: #9d6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa7",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 272,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.18308,
    "h": 304.4
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#6F2FA7
secondary
#96C171
accent
#DF488F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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