#6F29A7#6F29A7

#6F29A7 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.190 H 305.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6F29A7
RGBrgb(111, 41, 167)
HSLhsl(273, 61%, 41%)
HSVhsv(273, 75%, 65%)
CMYKcmyk(33.5%, 75.4%, 0%, 34.5%)
CIE-LABlab(33.47, 52.84, -54.64)
CIE-LCHlch(33.47, 76.01, 314.04°)
OKLaboklab(45.02% 0.1093 -0.1555)
OKLCHoklch(45.02% 0.19 305.1)
XYZxyz(14.3220, 7.7555, 37.2942)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29A7 #61A729
analogous
#3029A7 #6F29A7 #A729A0
triadic
#6F29A7 #A76F29 #29A76F
tetradic
#6F29A7 #A73029 #61A729 #29A0A7
square
#6F29A7 #A73029 #61A729 #29A0A7
split-complementary
#6F29A7 #A0A729 #29A730
monochromatic
#2E1145 #4E1D76 #6F29A7 #8F3ED0 #AB6FDC

Accessibility & contrast

On white

8.23
#6F29A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F29A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29A7
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29A7#FFFFFF#000000##FFFFFF
##6F29A71.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#654866
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f29a7;
/* rgb */ color: rgb(111, 41, 167);
/* oklch */ color: oklch(45.0% 0.190 305.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ac2',
    500: '#6f29a7',
    950: '#000000',
  },
}
SCSS
$custom: #6f29a7;
$custom-light: #9e6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29a7",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 273.333,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.19006,
    "h": 305.1
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#6F29A7
secondary
#91C269
accent
#E4448B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F29A7

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

Preview Lab → · Contrast checker → · Palette generator →

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