#6A299C#6A299C

#6A299C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.178 H 306.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6A299C
RGBrgb(106, 41, 156)
HSLhsl(274, 58%, 39%)
HSVhsv(274, 74%, 61%)
CMYKcmyk(32.1%, 73.7%, 0%, 38.8%)
CIE-LABlab(31.92, 49.30, -50.54)
CIE-LCHlch(31.92, 70.60, 314.29°)
OKLaboklab(43.51% 0.1044 -0.1436)
OKLCHoklch(43.51% 0.178 306)
XYZxyz(12.7362, 7.0505, 32.1360)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A299C #5B9C29
analogous
#30299C #6A299C #9C2994
triadic
#6A299C #9C6A29 #299C6A
tetradic
#6A299C #9C3029 #5B9C29 #29949C
square
#6A299C #9C3029 #5B9C29 #29949C
split-complementary
#6A299C #949C29 #299C30
monochromatic
#28103B #491C6C #6A299C #8B38CB #A768D7

Accessibility & contrast

On white

8.71
#6A299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6A299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A299C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A299C#FFFFFF#000000##FFFFFF
##6A299C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#614460
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a299c;
/* rgb */ color: rgb(106, 41, 156);
/* oklch */ color: oklch(43.5% 0.178 306.0);
Tailwind
colors: {
  custom: {
    50: '#9969ba',
    500: '#6a299c',
    950: '#000000',
  },
}
SCSS
$custom: #6a299c;
$custom-light: #9969ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a299c",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 273.913,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43512,
    "c": 0.17753,
    "h": 306
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A299C

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

Preview Lab → · Contrast checker → · Palette generator →

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