#6F2FA9#6F2FA9

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

Color values

HEX#6F2FA9
RGBrgb(111, 47, 169)
HSLhsl(271, 56%, 42%)
HSVhsv(271, 72%, 66%)
CMYKcmyk(34.3%, 72.2%, 0%, 33.7%)
CIE-LABlab(34.55, 50.68, -54.08)
CIE-LCHlch(34.55, 74.12, 313.14°)
OKLaboklab(45.84% 0.103 -0.1539)
OKLCHoklch(45.84% 0.185 303.8)
XYZxyz(14.7318, 8.2771, 38.3500)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA9 #69A92F
analogous
#322FA9 #6F2FA9 #A92FA6
triadic
#6F2FA9 #A96F2F #2FA96F
tetradic
#6F2FA9 #A9322F #69A92F #2FA6A9
square
#6F2FA9 #A9322F #69A92F #2FA6A9
split-complementary
#6F2FA9 #A6A92F #2FA932
monochromatic
#301449 #502279 #6F2FA9 #8E49CC #AC79DA

Accessibility & contrast

On white

7.91
#6F2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6F2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FA9
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA9#FFFFFF#000000##FFFFFF
##6F2FA91.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#644C69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2fa9;
/* rgb */ color: rgb(111, 47, 169);
/* oklch */ color: oklch(45.8% 0.185 303.8);
Tailwind
colors: {
  custom: {
    50: '#9d6dc3',
    500: '#6f2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa9;
$custom-light: #9d6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa9",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 271.475,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.18521,
    "h": 303.8
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#6F2FA9
secondary
#98C272
accent
#E04890
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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