#6A226E#6A226E

#6A226E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.5% C 0.141 H 325.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6A226E
RGBrgb(106, 34, 110)
HSLhsl(297, 53%, 28%)
HSVhsv(297, 69%, 43%)
CMYKcmyk(3.6%, 69.1%, 0%, 56.9%)
CIE-LABlab(27.67, 42.43, -28.66)
CIE-LCHlch(27.67, 51.20, 325.96°)
OKLaboklab(39.47% 0.1163 -0.0795)
OKLCHoklch(39.47% 0.141 325.6)
XYZxyz(9.3302, 5.3346, 15.2871)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A226E #266E22
analogous
#44226E #6A226E #6E224C
triadic
#6A226E #6E6A22 #226E6A
tetradic
#6A226E #6E4422 #266E22 #224C6E
square
#6A226E #6E4422 #266E22 #224C6E
split-complementary
#6A226E #4C6E22 #226E44
monochromatic
#170717 #3D143F #6A226E #97309D #BF45C5

Accessibility & contrast

On white

10.16
#6A226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6A226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A226E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A226E#FFFFFF#000000##FFFFFF
##6A226E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C70
Deuteranopia (green-blind)
#31446C
Tritanopia (blue-blind)
#6D2D45
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a226e;
/* rgb */ color: rgb(106, 34, 110);
/* oklch */ color: oklch(39.5% 0.141 325.6);
Tailwind
colors: {
  custom: {
    50: '#976498',
    500: '#6a226e',
    950: '#000000',
  },
}
SCSS
$custom: #6a226e;
$custom-light: #976498;
$custom-dark: #000000;
JSON
{
  "hex": "#6a226e",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 296.842,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39468,
    "c": 0.14086,
    "h": 325.6
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#6A226E
secondary
#4FA14A
accent
#DC4C53
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A226E

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

Preview Lab → · Contrast checker → · Palette generator →

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