#6F29A5#6F29A5

#6F29A5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.188 H 305.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6F29A5
RGBrgb(111, 41, 165)
HSLhsl(274, 60%, 40%)
HSVhsv(274, 75%, 65%)
CMYKcmyk(32.7%, 75.2%, 0%, 35.3%)
CIE-LABlab(33.31, 52.38, -53.69)
CIE-LCHlch(33.31, 75.01, 314.29°)
OKLaboklab(44.86% 0.1097 -0.1527)
OKLCHoklch(44.86% 0.188 305.7)
XYZxyz(14.1385, 7.6821, 36.3280)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F29A5 #5FA529
analogous
#3129A5 #6F29A5 #A5299D
triadic
#6F29A5 #A56F29 #29A56F
tetradic
#6F29A5 #A53129 #5FA529 #299DA5
square
#6F29A5 #A53129 #5FA529 #299DA5
split-complementary
#6F29A5 #9DA529 #29A531
monochromatic
#2D1143 #4E1D74 #6F29A5 #8F3DCF #AB6EDB

Accessibility & contrast

On white

8.28
#6F29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6F29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F29A5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F29A5#FFFFFF#000000##FFFFFF
##6F29A51.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#654765
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f29a5;
/* rgb */ color: rgb(111, 41, 165);
/* oklch */ color: oklch(44.9% 0.188 305.7);
Tailwind
colors: {
  custom: {
    50: '#9d6ac1',
    500: '#6f29a5',
    950: '#000000',
  },
}
SCSS
$custom: #6f29a5;
$custom-light: #9d6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f29a5",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 273.871,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44861,
    "c": 0.18803,
    "h": 305.7
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#6F29A5
secondary
#8FC268
accent
#E3448A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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