#6F29A6#6F29A6

#6F29A6 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.189 H 305.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6F29A6
RGBrgb(111, 41, 166)
HSLhsl(274, 60%, 41%)
HSVhsv(274, 75%, 65%)
CMYKcmyk(33.1%, 75.3%, 0%, 34.9%)
CIE-LABlab(33.39, 52.61, -54.17)
CIE-LCHlch(33.39, 75.51, 314.16°)
OKLaboklab(44.94% 0.1095 -0.1541)
OKLCHoklch(44.94% 0.189 305.4)
XYZxyz(14.2299, 7.7187, 36.8092)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29A6 #60A629
analogous
#3129A6 #6F29A6 #A6299E
triadic
#6F29A6 #A66F29 #29A66F
tetradic
#6F29A6 #A63129 #60A629 #299EA6
square
#6F29A6 #A63129 #60A629 #299EA6
split-complementary
#6F29A6 #9EA629 #29A631
monochromatic
#2D1144 #4E1D75 #6F29A6 #8F3DCF #AB6EDB

Accessibility & contrast

On white

8.26
#6F29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6F29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29A6
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29A6#FFFFFF#000000##FFFFFF
##6F29A61.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f29a6;
/* rgb */ color: rgb(111, 41, 166);
/* oklch */ color: oklch(44.9% 0.189 305.4);
Tailwind
colors: {
  custom: {
    50: '#9d6ac1',
    500: '#6f29a6',
    950: '#000000',
  },
}
SCSS
$custom: #6f29a6;
$custom-light: #9d6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29a6",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 273.6,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.18904,
    "h": 305.4
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#6F29A6
secondary
#90C269
accent
#E4448A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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