#6F2FA2#6F2FA2

#6F2FA2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.178 H 305.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6F2FA2
RGBrgb(111, 47, 162)
HSLhsl(273, 55%, 41%)
HSVhsv(273, 71%, 64%)
CMYKcmyk(31.5%, 71%, 0%, 36.5%)
CIE-LABlab(34.03, 49.00, -50.73)
CIE-LCHlch(34.03, 70.53, 314.01°)
OKLaboklab(45.3% 0.1042 -0.144)
OKLCHoklch(45.3% 0.178 305.9)
XYZxyz(14.0922, 8.0213, 34.9813)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FA2 #62A22F
analogous
#352FA2 #6F2FA2 #A22F9B
triadic
#6F2FA2 #A26F2F #2FA26F
tetradic
#6F2FA2 #A2352F #62A22F #2F9BA2
square
#6F2FA2 #A2352F #62A22F #2F9BA2
split-complementary
#6F2FA2 #9BA22F #2FA235
monochromatic
#2E1343 #4E2173 #6F2FA2 #8F45C9 #AB75D7

Accessibility & contrast

On white

8.06
#6F2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2FA2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FA2#FFFFFF#000000##FFFFFF
##6F2FA21.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0250A0
Tritanopia (blue-blind)
#664965
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2fa2;
/* rgb */ color: rgb(111, 47, 162);
/* oklch */ color: oklch(45.3% 0.178 305.9);
Tailwind
colors: {
  custom: {
    50: '#9d6dbe',
    500: '#6f2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fa2;
$custom-light: #9d6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fa2",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 273.391,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45297,
    "c": 0.17776,
    "h": 305.9
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#6F2FA2
secondary
#92BF6E
accent
#DE498B
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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