#6A299E#6A299E

#6A299E is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.180 H 305.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6A299E
RGBrgb(106, 41, 158)
HSLhsl(273, 59%, 39%)
HSVhsv(273, 74%, 62%)
CMYKcmyk(32.9%, 74.1%, 0%, 38%)
CIE-LABlab(32.08, 49.78, -51.50)
CIE-LCHlch(32.08, 71.62, 314.02°)
OKLaboklab(43.67% 0.104 -0.1465)
OKLCHoklch(43.67% 0.18 305.4)
XYZxyz(12.9070, 7.1188, 33.0352)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A299E #5D9E29
analogous
#2F299E #6A299E #9E2998
triadic
#6A299E #9E6A29 #299E6A
tetradic
#6A299E #9E2F29 #5D9E29 #29989E
square
#6A299E #9E2F29 #5D9E29 #29989E
split-complementary
#6A299E #989E29 #299E2F
monochromatic
#29103D #491C6D #6A299E #8A39CC #A769D8

Accessibility & contrast

On white

8.66
#6A299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A299E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A299E#FFFFFF#000000##FFFFFF
##6A299E1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#604561
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a299e;
/* rgb */ color: rgb(106, 41, 158);
/* oklch */ color: oklch(43.7% 0.180 305.4);
Tailwind
colors: {
  custom: {
    50: '#9969bb',
    500: '#6a299e',
    950: '#000000',
  },
}
SCSS
$custom: #6a299e;
$custom-light: #9969bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a299e",
  "rgb": {
    "r": 106,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 273.333,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.17961,
    "h": 305.4
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#6A299E
secondary
#8CBF64
accent
#E2468B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A299E

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

Preview Lab → · Contrast checker → · Palette generator →

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