#6A148E#6A148E

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

Color values

HEX#6A148E
RGBrgb(106, 20, 142)
HSLhsl(282, 75%, 32%)
HSVhsv(282, 86%, 56%)
CMYKcmyk(25.4%, 85.9%, 0%, 44.3%)
CIE-LABlab(28.16, 53.87, -48.05)
CIE-LCHlch(28.16, 72.18, 318.27°)
OKLaboklab(40.53% 0.1254 -0.1362)
OKLCHoklch(40.53% 0.185 312.6)
XYZxyz(11.0756, 5.5178, 26.0676)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A148E #388E14
analogous
#2D148E #6A148E #8E1475
triadic
#6A148E #8E6A14 #148E6A
tetradic
#6A148E #8E2D14 #388E14 #14758E
square
#6A148E #8E2D14 #388E14 #14758E
split-complementary
#6A148E #758E14 #148E2D
monochromatic
#1A0523 #420C58 #6A148E #921CC4 #B139E3

Accessibility & contrast

On white

9.98
#6A148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A148E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A148E#FFFFFF#000000##FFFFFF
##6A148E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#663554
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a148e;
/* rgb */ color: rgb(106, 20, 142);
/* oklch */ color: oklch(40.5% 0.185 312.6);
Tailwind
colors: {
  custom: {
    50: '#995fb0',
    500: '#6a148e',
    950: '#000000',
  },
}
SCSS
$custom: #6a148e;
$custom-light: #995fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a148e",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 282.295,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.18509,
    "h": 312.6
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#6A148E
secondary
#63C23C
accent
#F2366D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #6A148E

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

Preview Lab → · Contrast checker → · Palette generator →

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