#6F29A1#6F29A1

#6F29A1 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.184 H 306.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6F29A1
RGBrgb(111, 41, 161)
HSLhsl(275, 59%, 40%)
HSVhsv(275, 75%, 63%)
CMYKcmyk(31.1%, 74.5%, 0%, 36.9%)
CIE-LABlab(33.00, 51.45, -51.78)
CIE-LCHlch(33.00, 72.99, 314.81°)
OKLaboklab(44.55% 0.1105 -0.1471)
OKLCHoklch(44.55% 0.184 306.9)
XYZxyz(13.7801, 7.5388, 34.4405)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29A1 #5BA129
analogous
#3329A1 #6F29A1 #A12997
triadic
#6F29A1 #A16F29 #29A16F
tetradic
#6F29A1 #A13329 #5BA129 #2997A1
square
#6F29A1 #A13329 #5BA129 #2997A1
split-complementary
#6F29A1 #97A129 #29A133
monochromatic
#2C103F #4D1D70 #6F29A1 #903ACD #AB6BD9

Accessibility & contrast

On white

8.37
#6F29A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6F29A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29A1
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29A1#FFFFFF#000000##FFFFFF
##6F29A11.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#664663
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f29a1;
/* rgb */ color: rgb(111, 41, 161);
/* oklch */ color: oklch(44.5% 0.184 306.9);
Tailwind
colors: {
  custom: {
    50: '#9d6abe',
    500: '#6f29a1',
    950: '#000000',
  },
}
SCSS
$custom: #6f29a1;
$custom-light: #9d6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29a1",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 275,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44546,
    "c": 0.18396,
    "h": 306.9
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#6F29A1
secondary
#8BC066
accent
#E34587
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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