#6F2FAC#6F2FAC

#6F2FAC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.188 H 303.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6F2FAC
RGBrgb(111, 47, 172)
HSLhsl(271, 57%, 43%)
HSVhsv(271, 73%, 67%)
CMYKcmyk(35.5%, 72.7%, 0%, 32.5%)
CIE-LABlab(34.78, 51.40, -55.50)
CIE-LCHlch(34.78, 75.65, 312.80°)
OKLaboklab(46.07% 0.1025 -0.1581)
OKLCHoklch(46.07% 0.188 303)
XYZxyz(15.0167, 8.3911, 39.8502)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FAC #6CAC2F
analogous
#302FAC #6F2FAC #AC2FAA
triadic
#6F2FAC #AC6F2F #2FAC6F
tetradic
#6F2FAC #AC302F #6CAC2F #2FAAAC
square
#6F2FAC #AC302F #6CAC2F #2FAAAC
split-complementary
#6F2FAC #AAAC2F #2FAC30
monochromatic
#31154C #50227C #6F2FAC #8E4BCE #AC7BDB

Accessibility & contrast

On white

7.84
#6F2FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6F2FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FAC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FAC#FFFFFF#000000##FFFFFF
##6F2FAC1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#634D6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2fac;
/* rgb */ color: rgb(111, 47, 172);
/* oklch */ color: oklch(46.1% 0.188 303.0);
Tailwind
colors: {
  custom: {
    50: '#9e6dc6',
    500: '#6f2fac',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fac;
$custom-light: #9e6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fac",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 270.72,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46073,
    "c": 0.18839,
    "h": 303
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#6F2FAC
secondary
#9AC374
accent
#E04792
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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