#6F2FA1#6F2FA1

#6F2FA1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.177 H 306.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6F2FA1
RGBrgb(111, 47, 161)
HSLhsl(274, 55%, 41%)
HSVhsv(274, 71%, 63%)
CMYKcmyk(31.1%, 70.8%, 0%, 36.9%)
CIE-LABlab(33.95, 48.76, -50.24)
CIE-LCHlch(33.95, 70.02, 314.15°)
OKLaboklab(45.22% 0.1043 -0.1426)
OKLCHoklch(45.22% 0.177 306.2)
XYZxyz(14.0037, 7.9859, 34.5150)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA1 #61A12F
analogous
#362FA1 #6F2FA1 #A12F9A
triadic
#6F2FA1 #A16F2F #2FA16F
tetradic
#6F2FA1 #A1362F #61A12F #2F9AA1
square
#6F2FA1 #A1362F #61A12F #2F9AA1
split-complementary
#6F2FA1 #9AA12F #2FA136
monochromatic
#2E1342 #4E2172 #6F2FA1 #8F45C9 #AB74D6

Accessibility & contrast

On white

8.09
#6F2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6F2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FA1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA1#FFFFFF#000000##FFFFFF
##6F2FA11.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#05509F
Tritanopia (blue-blind)
#664964
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2fa1;
/* rgb */ color: rgb(111, 47, 161);
/* oklch */ color: oklch(45.2% 0.177 306.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dbe',
    500: '#6f2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa1;
$custom-light: #9d6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa1",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 273.684,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.17669,
    "h": 306.2
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#6F2FA1
secondary
#91BE6E
accent
#DE4A8B
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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