#6F2FA3#6F2FA3

#6F2FA3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.179 H 305.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6F2FA3
RGBrgb(111, 47, 163)
HSLhsl(273, 55%, 41%)
HSVhsv(273, 71%, 64%)
CMYKcmyk(31.9%, 71.2%, 0%, 36.1%)
CIE-LABlab(34.10, 49.24, -51.21)
CIE-LCHlch(34.10, 71.04, 313.88°)
OKLaboklab(45.37% 0.104 -0.1455)
OKLCHoklch(45.37% 0.179 305.6)
XYZxyz(14.1815, 8.0570, 35.4513)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA3 #63A32F
analogous
#352FA3 #6F2FA3 #A32F9D
triadic
#6F2FA3 #A36F2F #2FA36F
tetradic
#6F2FA3 #A3352F #63A32F #2F9DA3
square
#6F2FA3 #A3352F #63A32F #2F9DA3
split-complementary
#6F2FA3 #9DA32F #2FA335
monochromatic
#2E1444 #4F2173 #6F2FA3 #8E46CA #AB75D7

Accessibility & contrast

On white

8.04
#6F2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6F2FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FA3
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA3#FFFFFF#000000##FFFFFF
##6F2FA31.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#664A66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2fa3;
/* rgb */ color: rgb(111, 47, 163);
/* oklch */ color: oklch(45.4% 0.179 305.6);
Tailwind
colors: {
  custom: {
    50: '#9d6dbf',
    500: '#6f2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa3;
$custom-light: #9d6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa3",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 273.103,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.17882,
    "h": 305.6
  },
  "luminance": 0.08057
}

Semantic roles & 50–950 ramp

primary
#6F2FA3
secondary
#93BF6F
accent
#DF498C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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