#6A299D#6A299D

#6A299D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.179 H 305.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6A299D
RGBrgb(106, 41, 157)
HSLhsl(274, 59%, 39%)
HSVhsv(274, 74%, 62%)
CMYKcmyk(32.5%, 73.9%, 0%, 38.4%)
CIE-LABlab(32.00, 49.54, -51.02)
CIE-LCHlch(32.00, 71.11, 314.16°)
OKLaboklab(43.59% 0.1042 -0.1451)
OKLCHoklch(43.59% 0.179 305.7)
XYZxyz(12.8213, 7.0845, 32.5837)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A299D #5C9D29
analogous
#30299D #6A299D #9D2996
triadic
#6A299D #9D6A29 #299D6A
tetradic
#6A299D #9D3029 #5C9D29 #29969D
square
#6A299D #9D3029 #5C9D29 #29969D
split-complementary
#6A299D #969D29 #299D30
monochromatic
#28103C #491C6C #6A299D #8A38CB #A769D8

Accessibility & contrast

On white

8.69
#6A299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6A299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A299D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A299D#FFFFFF#000000##FFFFFF
##6A299D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#614561
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a299d;
/* rgb */ color: rgb(106, 41, 157);
/* oklch */ color: oklch(43.6% 0.179 305.7);
Tailwind
colors: {
  custom: {
    50: '#9969bb',
    500: '#6a299d',
    950: '#000000',
  },
}
SCSS
$custom: #6a299d;
$custom-light: #9969bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a299d",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 273.621,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43591,
    "c": 0.17857,
    "h": 305.7
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#6A299D
secondary
#8BBE64
accent
#E2468A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A299D

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

Preview Lab → · Contrast checker → · Palette generator →

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