#6D148D#6D148D

#6D148D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.185 H 314.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6D148D
RGBrgb(109, 20, 141)
HSLhsl(284, 75%, 32%)
HSVhsv(284, 86%, 55%)
CMYKcmyk(22.7%, 85.8%, 0%, 44.7%)
CIE-LABlab(28.58, 54.18, -46.73)
CIE-LCHlch(28.58, 71.54, 319.22°)
OKLaboklab(40.89% 0.1297 -0.1322)
OKLCHoklch(40.89% 0.185 314.4)
XYZxyz(11.3637, 5.6750, 25.6909)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D148D #348D14
analogous
#31148D #6D148D #8D1471
triadic
#6D148D #8D6D14 #148D6D
tetradic
#6D148D #8D3114 #348D14 #14718D
square
#6D148D #8D3114 #348D14 #14718D
split-complementary
#6D148D #718D14 #148D31
monochromatic
#1A0522 #440C57 #6D148D #961CC3 #B639E3

Accessibility & contrast

On white

9.84
#6D148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D148D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D148D#FFFFFF#000000##FFFFFF
##6D148D1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#05458B
Tritanopia (blue-blind)
#6A3453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d148d;
/* rgb */ color: rgb(109, 20, 141);
/* oklch */ color: oklch(40.9% 0.185 314.4);
Tailwind
colors: {
  custom: {
    50: '#9b60af',
    500: '#6d148d',
    950: '#000000',
  },
}
SCSS
$custom: #6d148d;
$custom-light: #9b60af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d148d",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 284.132,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.18517,
    "h": 314.4
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#6D148D
secondary
#5FC13C
accent
#F23668
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D148D

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

Preview Lab → · Contrast checker → · Palette generator →

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