#6A148B#6A148B

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

Color values

HEX#6A148B
RGBrgb(106, 20, 139)
HSLhsl(283, 75%, 31%)
HSVhsv(283, 86%, 55%)
CMYKcmyk(23.7%, 85.6%, 0%, 45.5%)
CIE-LABlab(27.92, 53.25, -46.57)
CIE-LCHlch(27.92, 70.74, 318.83°)
OKLaboklab(40.29% 0.1261 -0.1318)
OKLCHoklch(40.29% 0.182 313.7)
XYZxyz(10.8534, 5.4289, 24.8973)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A148B #358B14
analogous
#2E148B #6A148B #8B1470
triadic
#6A148B #8B6A14 #148B6A
tetradic
#6A148B #8B2E14 #358B14 #14708B
square
#6A148B #8B2E14 #358B14 #14708B
split-complementary
#6A148B #708B14 #148B2E
monochromatic
#180520 #410C55 #6A148B #931CC1 #B337E2

Accessibility & contrast

On white

10.07
#6A148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6A148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A148B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A148B#FFFFFF#000000##FFFFFF
##6A148B1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#004489
Tritanopia (blue-blind)
#673352
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a148b;
/* rgb */ color: rgb(106, 20, 139);
/* oklch */ color: oklch(40.3% 0.182 313.7);
Tailwind
colors: {
  custom: {
    50: '#995fae',
    500: '#6a148b',
    950: '#000000',
  },
}
SCSS
$custom: #6a148b;
$custom-light: #995fae;
$custom-dark: #000000;
JSON
{
  "hex": "#6a148b",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 283.361,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40287,
    "c": 0.18245,
    "h": 313.7
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#6A148B
secondary
#60BF3C
accent
#F1366A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6A148B

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

Preview Lab → · Contrast checker → · Palette generator →

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