#6A276E#6A276E

#6A276E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.134 H 325.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6A276E
RGBrgb(106, 39, 110)
HSLhsl(297, 48%, 29%)
HSVhsv(297, 65%, 43%)
CMYKcmyk(3.6%, 64.5%, 0%, 56.9%)
CIE-LABlab(28.49, 40.14, -27.36)
CIE-LCHlch(28.49, 48.58, 325.72°)
OKLaboklab(40.06% 0.1099 -0.0758)
OKLCHoklch(40.06% 0.134 325.4)
XYZxyz(9.4836, 5.6416, 15.3382)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A276E #2B6E27
analogous
#47276E #6A276E #6E274F
triadic
#6A276E #6E6A27 #276E6A
tetradic
#6A276E #6E4727 #2B6E27 #274F6E
square
#6A276E #6E4727 #2B6E27 #274F6E
split-complementary
#6A276E #4F6E27 #276E47
monochromatic
#160817 #3E1741 #6A276E #96379B #BA4FC1

Accessibility & contrast

On white

9.87
#6A276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6A276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A276E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A276E#FFFFFF#000000##FFFFFF
##6A276E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3E70
Deuteranopia (green-blind)
#34466C
Tritanopia (blue-blind)
#6D3146
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a276e;
/* rgb */ color: rgb(106, 39, 110);
/* oklch */ color: oklch(40.1% 0.134 325.4);
Tailwind
colors: {
  custom: {
    50: '#976698',
    500: '#6a276e',
    950: '#000000',
  },
}
SCSS
$custom: #6a276e;
$custom-light: #976698;
$custom-dark: #000000;
JSON
{
  "hex": "#6a276e",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 296.62,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.1335,
    "h": 325.4
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#6A276E
secondary
#55A150
accent
#D75158
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A276E

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

Preview Lab → · Contrast checker → · Palette generator →

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