#6A279A#6A279A

#6A279A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.178 H 306.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#6A279A
RGBrgb(106, 39, 154)
HSLhsl(275, 60%, 38%)
HSVhsv(275, 75%, 60%)
CMYKcmyk(31.2%, 74.7%, 0%, 39.6%)
CIE-LABlab(31.46, 49.71, -50.07)
CIE-LCHlch(31.46, 70.55, 314.79°)
OKLaboklab(43.14% 0.1067 -0.1422)
OKLCHoklch(43.14% 0.178 306.9)
XYZxyz(12.5009, 6.8484, 31.2289)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A279A #579A27
analogous
#31279A #6A279A #9A2790
triadic
#6A279A #9A6A27 #279A6A
tetradic
#6A279A #9A3127 #579A27 #27909A
square
#6A279A #9A3127 #579A27 #27909A
split-complementary
#6A279A #909A27 #279A31
monochromatic
#270E38 #481B69 #6A279A #8C33CB #A764D8

Accessibility & contrast

On white

8.86
#6A279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6A279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A279A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A279A#FFFFFF#000000##FFFFFF
##6A279A1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#62425E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a279a;
/* rgb */ color: rgb(106, 39, 154);
/* oklch */ color: oklch(43.1% 0.178 306.9);
Tailwind
colors: {
  custom: {
    50: '#9968b9',
    500: '#6a279a',
    950: '#000000',
  },
}
SCSS
$custom: #6a279a;
$custom-light: #9968b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a279a",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 274.957,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43137,
    "c": 0.17782,
    "h": 306.9
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#6A279A
secondary
#87BD5F
accent
#E34587
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A279A

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

Preview Lab → · Contrast checker → · Palette generator →

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