#6F29AF#6F29AF

#6F29AF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.198 H 302.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6F29AF
RGBrgb(111, 41, 175)
HSLhsl(271, 62%, 42%)
HSVhsv(271, 77%, 69%)
CMYKcmyk(36.6%, 76.6%, 0%, 31.4%)
CIE-LABlab(34.11, 54.72, -58.39)
CIE-LCHlch(34.11, 80.03, 313.14°)
OKLaboklab(45.67% 0.1074 -0.1665)
OKLCHoklch(45.67% 0.198 302.8)
XYZxyz(15.0845, 8.0605, 41.3103)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29AF #69AF29
analogous
#2C29AF #6F29AF #AF29AC
triadic
#6F29AF #AF6F29 #29AF6F
tetradic
#6F29AF #AF2C29 #69AF29 #29ACAF
square
#6F29AF #AF2C29 #69AF29 #29ACAF
split-complementary
#6F29AF #ACAF29 #29AF2C
monochromatic
#30124C #501D7D #6F29AF #8E42D3 #AC74DE

Accessibility & contrast

On white

8.04
#6F29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6F29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29AF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29AF#FFFFFF#000000##FFFFFF
##6F29AF1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#624C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f29af;
/* rgb */ color: rgb(111, 41, 175);
/* oklch */ color: oklch(45.7% 0.198 302.8);
Tailwind
colors: {
  custom: {
    50: '#9e6ac8',
    500: '#6f29af',
    950: '#000000',
  },
}
SCSS
$custom: #6f29af;
$custom-light: #9e6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29af",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 271.343,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.19818,
    "h": 302.8
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#6F29AF
secondary
#98C66E
accent
#E54390
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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