#6A299B#6A299B

#6A299B is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.176 H 306.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6A299B
RGBrgb(106, 41, 155)
HSLhsl(274, 58%, 38%)
HSVhsv(274, 74%, 61%)
CMYKcmyk(31.6%, 73.5%, 0%, 39.2%)
CIE-LABlab(31.84, 49.07, -50.05)
CIE-LCHlch(31.84, 70.09, 314.43°)
OKLaboklab(43.43% 0.1045 -0.1422)
OKLCHoklch(43.43% 0.176 306.3)
XYZxyz(12.6519, 7.0167, 31.6918)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A299B #5A9B29
analogous
#31299B #6A299B #9B2993
triadic
#6A299B #9B6A29 #299B6A
tetradic
#6A299B #9B3129 #5A9B29 #29939B
square
#6A299B #9B3129 #5A9B29 #29939B
split-complementary
#6A299B #939B29 #299B31
monochromatic
#280F3A #491C6B #6A299B #8B37CA #A767D7

Accessibility & contrast

On white

8.74
#6A299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6A299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A299B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A299B#FFFFFF#000000##FFFFFF
##6A299B1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#61445F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a299b;
/* rgb */ color: rgb(106, 41, 155);
/* oklch */ color: oklch(43.4% 0.176 306.3);
Tailwind
colors: {
  custom: {
    50: '#9969b9',
    500: '#6a299b',
    950: '#000000',
  },
}
SCSS
$custom: #6a299b;
$custom-light: #9969b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a299b",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 274.211,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.17649,
    "h": 306.3
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#6A299B
secondary
#8ABD63
accent
#E14689
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A299B

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

Preview Lab → · Contrast checker → · Palette generator →

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