#6A148F#6A148F

#6A148F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.6% C 0.186 H 312.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6A148F
RGBrgb(106, 20, 143)
HSLhsl(282, 75%, 32%)
HSVhsv(282, 86%, 56%)
CMYKcmyk(25.9%, 86%, 0%, 43.9%)
CIE-LABlab(28.24, 54.07, -48.53)
CIE-LCHlch(28.24, 72.66, 318.09°)
OKLaboklab(40.61% 0.1251 -0.1376)
OKLCHoklch(40.61% 0.186 312.3)
XYZxyz(11.1510, 5.5480, 26.4647)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A148F #398F14
analogous
#2C148F #6A148F #8F1477
triadic
#6A148F #8F6A14 #148F6A
tetradic
#6A148F #8F2C14 #398F14 #14778F
square
#6A148F #8F2C14 #398F14 #14778F
split-complementary
#6A148F #778F14 #148F2C
monochromatic
#1A0524 #420C59 #6A148F #921CC5 #B03AE3

Accessibility & contrast

On white

9.95
#6A148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6A148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A148F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A148F#FFFFFF#000000##FFFFFF
##6A148F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#653554
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a148f;
/* rgb */ color: rgb(106, 20, 143);
/* oklch */ color: oklch(40.6% 0.186 312.3);
Tailwind
colors: {
  custom: {
    50: '#995fb1',
    500: '#6a148f',
    950: '#000000',
  },
}
SCSS
$custom: #6a148f;
$custom-light: #995fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a148f",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 281.951,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40609,
    "c": 0.18597,
    "h": 312.3
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#6A148F
secondary
#65C33C
accent
#F2366E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #6A148F

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

Preview Lab → · Contrast checker → · Palette generator →

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