#6A148A#6A148A

#6A148A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.182 H 314.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#6A148A
RGBrgb(106, 20, 138)
HSLhsl(284, 75%, 31%)
HSVhsv(284, 86%, 54%)
CMYKcmyk(23.2%, 85.5%, 0%, 45.9%)
CIE-LABlab(27.84, 53.05, -46.08)
CIE-LCHlch(27.84, 70.26, 319.02°)
OKLaboklab(40.21% 0.1264 -0.1304)
OKLCHoklch(40.21% 0.182 314.1)
XYZxyz(10.7807, 5.3998, 24.5142)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A148A #348A14
analogous
#2F148A #6A148A #8A146F
triadic
#6A148A #8A6A14 #148A6A
tetradic
#6A148A #8A2F14 #348A14 #146F8A
square
#6A148A #8A2F14 #348A14 #146F8A
split-complementary
#6A148A #6F8A14 #148A2F
monochromatic
#18051F #410C55 #6A148A #931CBF #B336E2

Accessibility & contrast

On white

10.10
#6A148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A148A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A148A#FFFFFF#000000##FFFFFF
##6A148A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#034488
Tritanopia (blue-blind)
#673351
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a148a;
/* rgb */ color: rgb(106, 20, 138);
/* oklch */ color: oklch(40.2% 0.182 314.1);
Tailwind
colors: {
  custom: {
    50: '#995fad',
    500: '#6a148a',
    950: '#000000',
  },
}
SCSS
$custom: #6a148a;
$custom-light: #995fad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a148a",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 283.729,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.18157,
    "h": 314.1
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#6A148A
secondary
#5FBE3C
accent
#F13669
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6A148A

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

Preview Lab → · Contrast checker → · Palette generator →

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