#6A286E#6A286E

#6A286E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.2% C 0.132 H 325.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#6A286E
RGBrgb(106, 40, 110)
HSLhsl(297, 47%, 29%)
HSVhsv(297, 64%, 43%)
CMYKcmyk(3.6%, 63.6%, 0%, 56.9%)
CIE-LABlab(28.66, 39.66, -27.08)
CIE-LCHlch(28.66, 48.03, 325.67°)
OKLaboklab(40.19% 0.1086 -0.075)
OKLCHoklch(40.19% 0.132 325.4)
XYZxyz(9.5169, 5.7081, 15.3493)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A286E #2C6E28
analogous
#47286E #6A286E #6E284F
triadic
#6A286E #6E6A28 #286E6A
tetradic
#6A286E #6E4728 #2C6E28 #284F6E
square
#6A286E #6E4728 #2C6E28 #284F6E
split-complementary
#6A286E #4F6E28 #286E47
monochromatic
#160816 #3F1841 #6A286E #95389B #B951C0

Accessibility & contrast

On white

9.81
#6A286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6A286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A286E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A286E#FFFFFF#000000##FFFFFF
##6A286E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E70
Deuteranopia (green-blind)
#35466C
Tritanopia (blue-blind)
#6D3247
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a286e;
/* rgb */ color: rgb(106, 40, 110);
/* oklch */ color: oklch(40.2% 0.132 325.4);
Tailwind
colors: {
  custom: {
    50: '#976798',
    500: '#6a286e',
    950: '#000000',
  },
}
SCSS
$custom: #6a286e;
$custom-light: #976798;
$custom-dark: #000000;
JSON
{
  "hex": "#6a286e",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 296.571,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.13196,
    "h": 325.4
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#6A286E
secondary
#56A051
accent
#D65159
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A286E

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

Preview Lab → · Contrast checker → · Palette generator →

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