#6F29A8#6F29A8

#6F29A8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.191 H 304.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6F29A8
RGBrgb(111, 41, 168)
HSLhsl(273, 61%, 41%)
HSVhsv(273, 76%, 66%)
CMYKcmyk(33.9%, 75.6%, 0%, 34.1%)
CIE-LABlab(33.55, 53.08, -55.12)
CIE-LCHlch(33.55, 76.52, 313.92°)
OKLaboklab(45.1% 0.109 -0.1569)
OKLCHoklch(45.1% 0.191 304.8)
XYZxyz(14.4148, 7.7926, 37.7829)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29A8 #62A829
analogous
#2F29A8 #6F29A8 #A829A1
triadic
#6F29A8 #A86F29 #29A86F
tetradic
#6F29A8 #A82F29 #62A829 #29A1A8
square
#6F29A8 #A82F29 #62A829 #29A1A8
split-complementary
#6F29A8 #A1A829 #29A82F
monochromatic
#2E1146 #4E1D77 #6F29A8 #8F3ED0 #AB6FDC

Accessibility & contrast

On white

8.21
#6F29A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F29A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29A8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29A8#FFFFFF#000000##FFFFFF
##6F29A81.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#644967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f29a8;
/* rgb */ color: rgb(111, 41, 168);
/* oklch */ color: oklch(45.1% 0.191 304.8);
Tailwind
colors: {
  custom: {
    50: '#9e6ac3',
    500: '#6f29a8',
    950: '#000000',
  },
}
SCSS
$custom: #6f29a8;
$custom-light: #9e6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29a8",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 273.071,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.19107,
    "h": 304.8
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#6F29A8
secondary
#92C36A
accent
#E4448C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F29A8

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

Preview Lab → · Contrast checker → · Palette generator →

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