#6A128F#6A128F

#6A128F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.5% C 0.187 H 312.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#6A128F
RGBrgb(106, 18, 143)
HSLhsl(282, 78%, 32%)
HSVhsv(282, 87%, 56%)
CMYKcmyk(25.9%, 87.4%, 0%, 43.9%)
CIE-LABlab(28.06, 54.60, -48.83)
CIE-LCHlch(28.06, 73.25, 318.20°)
OKLaboklab(40.48% 0.1264 -0.1384)
OKLCHoklch(40.48% 0.187 312.4)
XYZxyz(11.1172, 5.4803, 26.4535)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A128F #378F12
analogous
#2C128F #6A128F #8F1276
triadic
#6A128F #8F6A12 #128F6A
tetradic
#6A128F #8F2C12 #378F12 #12768F
square
#6A128F #8F2C12 #378F12 #12768F
split-complementary
#6A128F #768F12 #128F2C
monochromatic
#190422 #420B59 #6A128F #9219C5 #B236E6

Accessibility & contrast

On white

10.02
#6A128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6A128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A128F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A128F#FFFFFF#000000##FFFFFF
##6A128F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#653454
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a128f;
/* rgb */ color: rgb(106, 18, 143);
/* oklch */ color: oklch(40.5% 0.187 312.4);
Tailwind
colors: {
  custom: {
    50: '#995fb1',
    500: '#6a128f',
    950: '#000000',
  },
}
SCSS
$custom: #6a128f;
$custom-light: #995fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a128f",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 282.24,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.18746,
    "h": 312.4
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#6A128F
secondary
#62C33A
accent
#F4346D
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #6A128F

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

Preview Lab → · Contrast checker → · Palette generator →

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