#6A279B#6A279B

#6A279B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.179 H 306.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6A279B
RGBrgb(106, 39, 155)
HSLhsl(275, 60%, 38%)
HSVhsv(275, 75%, 61%)
CMYKcmyk(31.6%, 74.8%, 0%, 39.2%)
CIE-LABlab(31.54, 49.94, -50.55)
CIE-LCHlch(31.54, 71.06, 314.65°)
OKLaboklab(43.22% 0.1065 -0.1437)
OKLCHoklch(43.22% 0.179 306.6)
XYZxyz(12.5845, 6.8819, 31.6694)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A279B #589B27
analogous
#30279B #6A279B #9B2792
triadic
#6A279B #9B6A27 #279B6A
tetradic
#6A279B #9B3027 #589B27 #27929B
square
#6A279B #9B3027 #589B27 #27929B
split-complementary
#6A279B #929B27 #279B30
monochromatic
#270E39 #491B6A #6A279B #8B33CC #A764D8

Accessibility & contrast

On white

8.84
#6A279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6A279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A279B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A279B#FFFFFF#000000##FFFFFF
##6A279B1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#61435F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a279b;
/* rgb */ color: rgb(106, 39, 155);
/* oklch */ color: oklch(43.2% 0.179 306.6);
Tailwind
colors: {
  custom: {
    50: '#9968b9',
    500: '#6a279b',
    950: '#000000',
  },
}
SCSS
$custom: #6a279b;
$custom-light: #9968b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a279b",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 274.655,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43216,
    "c": 0.17884,
    "h": 306.6
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#6A279B
secondary
#88BE60
accent
#E34588
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A279B

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

Preview Lab → · Contrast checker → · Palette generator →

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