#6F29A2#6F29A2

#6F29A2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.185 H 306.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6F29A2
RGBrgb(111, 41, 162)
HSLhsl(275, 60%, 40%)
HSVhsv(275, 75%, 64%)
CMYKcmyk(31.5%, 74.7%, 0%, 36.5%)
CIE-LABlab(33.08, 51.68, -52.26)
CIE-LCHlch(33.08, 73.50, 314.68°)
OKLaboklab(44.63% 0.1103 -0.1485)
OKLCHoklch(44.63% 0.185 306.6)
XYZxyz(13.8687, 7.5742, 34.9068)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29A2 #5CA229
analogous
#3329A2 #6F29A2 #A22998
triadic
#6F29A2 #A26F29 #29A26F
tetradic
#6F29A2 #A23329 #5CA229 #2998A2
square
#6F29A2 #A23329 #5CA229 #2998A2
split-complementary
#6F29A2 #98A229 #29A233
monochromatic
#2C1040 #4E1D71 #6F29A2 #903BCD #AB6CDA

Accessibility & contrast

On white

8.35
#6F29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F29A2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29A2#FFFFFF#000000##FFFFFF
##6F29A21.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f29a2;
/* rgb */ color: rgb(111, 41, 162);
/* oklch */ color: oklch(44.6% 0.185 306.6);
Tailwind
colors: {
  custom: {
    50: '#9d6abe',
    500: '#6f29a2',
    950: '#000000',
  },
}
SCSS
$custom: #6f29a2;
$custom-light: #9d6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29a2",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 274.711,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.18498,
    "h": 306.6
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#6F29A2
secondary
#8CC067
accent
#E34588
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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