#6D148E#6D148E

#6D148E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 41.0% C 0.186 H 314.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#6D148E
RGBrgb(109, 20, 142)
HSLhsl(284, 75%, 32%)
HSVhsv(284, 86%, 56%)
CMYKcmyk(23.2%, 85.9%, 0%, 44.3%)
CIE-LABlab(28.66, 54.38, -47.22)
CIE-LCHlch(28.66, 72.02, 319.03°)
OKLaboklab(40.97% 0.1294 -0.1336)
OKLCHoklch(40.97% 0.186 314.1)
XYZxyz(11.4385, 5.7049, 26.0846)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D148E #358E14
analogous
#30148E #6D148E #8E1472
triadic
#6D148E #8E6D14 #148E6D
tetradic
#6D148E #8E3014 #358E14 #14728E
square
#6D148E #8E3014 #358E14 #14728E
split-complementary
#6D148E #728E14 #148E30
monochromatic
#1B0523 #440C58 #6D148E #961CC4 #B539E3

Accessibility & contrast

On white

9.81
#6D148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D148E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D148E#FFFFFF#000000##FFFFFF
##6D148E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#02458C
Tritanopia (blue-blind)
#6A3454
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d148e;
/* rgb */ color: rgb(109, 20, 142);
/* oklch */ color: oklch(41.0% 0.186 314.1);
Tailwind
colors: {
  custom: {
    50: '#9b60b0',
    500: '#6d148e',
    950: '#000000',
  },
}
SCSS
$custom: #6d148e;
$custom-light: #9b60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d148e",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 283.77,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.18604,
    "h": 314.1
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#6D148E
secondary
#60C23C
accent
#F23669
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6D148E

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

Preview Lab → · Contrast checker → · Palette generator →

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