#6A427B#6A427B

#6A427B is a dark, moderate purple. Relative luminance 0.084; OKLCH L 44.9% C 0.101 H 315.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6A427B
RGBrgb(106, 66, 123)
HSLhsl(282, 30%, 37%)
HSVhsv(282, 46%, 48%)
CMYKcmyk(13.8%, 46.3%, 0%, 51.8%)
CIE-LABlab(34.78, 28.16, -25.66)
CIE-LCHlch(34.78, 38.10, 317.67°)
OKLaboklab(44.93% 0.0715 -0.071)
OKLCHoklch(44.93% 0.101 315.2)
XYZxyz(11.4667, 8.3910, 19.7506)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A427B #537B42
analogous
#4D427B #6A427B #7B4270
triadic
#6A427B #7B6A42 #427B6A
tetradic
#6A427B #7B4D42 #537B42 #42707B
square
#6A427B #7B4D42 #537B42 #42707B
split-complementary
#6A427B #707B42 #427B4D
monochromatic
#25172B #482D53 #6A427B #8C57A3 #A87EBA

Accessibility & contrast

On white

7.84
#6A427B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6A427B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A427B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A427B#FFFFFF#000000##FFFFFF
##6A427B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#425379
Tritanopia (blue-blind)
#694A58
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a427b;
/* rgb */ color: rgb(106, 66, 123);
/* oklch */ color: oklch(44.9% 0.101 315.2);
Tailwind
colors: {
  custom: {
    50: '#9677a1',
    500: '#6a427b',
    950: '#000000',
  },
}
SCSS
$custom: #6a427b;
$custom-light: #9677a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a427b",
  "rgb": {
    "r": 106,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 282.105,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44932,
    "c": 0.10081,
    "h": 315.2
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#6A427B
secondary
#83A574
accent
#C66180
background
#F9F7F9
surface
#F2EDF2
border
#CCC8CC
text
#0D090F
muted
#7E7B7E

Preview Lab

Preview with #6A427B

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

Preview Lab → · Contrast checker → · Palette generator →

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