#6F29B2#6F29B2

#6F29B2 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.9% C 0.201 H 302.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6F29B2
RGBrgb(111, 41, 178)
HSLhsl(271, 63%, 43%)
HSVhsv(271, 77%, 70%)
CMYKcmyk(37.6%, 77%, 0%, 30.2%)
CIE-LABlab(34.35, 55.43, -59.78)
CIE-LCHlch(34.35, 81.53, 312.84°)
OKLaboklab(45.92% 0.1067 -0.1706)
OKLCHoklch(45.92% 0.201 302)
XYZxyz(15.3824, 8.1797, 42.8793)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29B2 #6CB229
analogous
#2B29B2 #6F29B2 #B229B0
triadic
#6F29B2 #B26F29 #29B26F
tetradic
#6F29B2 #B22B29 #6CB229 #29B0B2
square
#6F29B2 #B22B29 #6CB229 #29B0B2
split-complementary
#6F29B2 #B0B229 #29B22B
monochromatic
#31124F #501E80 #6F29B2 #8E44D4 #AC76DF

Accessibility & contrast

On white

7.97
#6F29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6F29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29B2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29B2#FFFFFF#000000##FFFFFF
##6F29B21.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#614D6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f29b2;
/* rgb */ color: rgb(111, 41, 178);
/* oklch */ color: oklch(45.9% 0.201 302.0);
Tailwind
colors: {
  custom: {
    50: '#9f6bca',
    500: '#6f29b2',
    950: '#000000',
  },
}
SCSS
$custom: #6f29b2;
$custom-light: #9f6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29b2",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 270.657,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.20122,
    "h": 302
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#6F29B2
secondary
#9AC770
accent
#E64292
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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