#6A279C#6A279C

#6A279C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.180 H 306.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6A279C
RGBrgb(106, 39, 156)
HSLhsl(274, 60%, 38%)
HSVhsv(274, 75%, 61%)
CMYKcmyk(32.1%, 75%, 0%, 38.8%)
CIE-LABlab(31.61, 50.18, -51.04)
CIE-LCHlch(31.61, 71.57, 314.51°)
OKLaboklab(43.3% 0.1063 -0.1451)
OKLCHoklch(43.3% 0.18 306.2)
XYZxyz(12.6688, 6.9156, 32.1135)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A279C #599C27
analogous
#2F279C #6A279C #9C2793
triadic
#6A279C #9C6A27 #279C6A
tetradic
#6A279C #9C2F27 #599C27 #27939C
square
#6A279C #9C2F27 #599C27 #27939C
split-complementary
#6A279C #939C27 #279C2F
monochromatic
#270F3A #491B6B #6A279C #8B34CC #A765D8

Accessibility & contrast

On white

8.81
#6A279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A279C
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A279C#FFFFFF#000000##FFFFFF
##6A279C1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#614360
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a279c;
/* rgb */ color: rgb(106, 39, 156);
/* oklch */ color: oklch(43.3% 0.180 306.2);
Tailwind
colors: {
  custom: {
    50: '#9968ba',
    500: '#6a279c',
    950: '#000000',
  },
}
SCSS
$custom: #6a279c;
$custom-light: #9968ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a279c",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 274.359,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43295,
    "c": 0.17987,
    "h": 306.2
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#6A279C
secondary
#89BE61
accent
#E34588
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A279C

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

Preview Lab → · Contrast checker → · Palette generator →

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