#6F29AA#6F29AA

#6F29AA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.193 H 304.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6F29AA
RGBrgb(111, 41, 170)
HSLhsl(273, 61%, 41%)
HSVhsv(273, 76%, 67%)
CMYKcmyk(34.7%, 75.9%, 0%, 33.3%)
CIE-LABlab(33.71, 53.54, -56.06)
CIE-LCHlch(33.71, 77.52, 313.69°)
OKLaboklab(45.26% 0.1086 -0.1597)
OKLCHoklch(45.26% 0.193 304.2)
XYZxyz(14.6025, 7.8677, 38.7717)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29AA #64AA29
analogous
#2F29AA #6F29AA #AA29A5
triadic
#6F29AA #AA6F29 #29AA6F
tetradic
#6F29AA #AA2F29 #64AA29 #29A5AA
square
#6F29AA #AA2F29 #64AA29 #29A5AA
split-complementary
#6F29AA #A5AA29 #29AA2F
monochromatic
#2F1147 #4F1D79 #6F29AA #8E3FD1 #AB71DD

Accessibility & contrast

On white

8.16
#6F29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29AA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29AA#FFFFFF#000000##FFFFFF
##6F29AA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#634968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f29aa;
/* rgb */ color: rgb(111, 41, 170);
/* oklch */ color: oklch(45.3% 0.193 304.2);
Tailwind
colors: {
  custom: {
    50: '#9e6ac4',
    500: '#6f29aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f29aa;
$custom-light: #9e6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29aa",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 272.558,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.1931,
    "h": 304.2
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#6F29AA
secondary
#94C46B
accent
#E4448D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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