#6B148D#6B148D

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

Color values

HEX#6B148D
RGBrgb(107, 20, 141)
HSLhsl(283, 75%, 32%)
HSVhsv(283, 86%, 55%)
CMYKcmyk(24.1%, 85.8%, 0%, 44.7%)
CIE-LABlab(28.25, 53.83, -47.28)
CIE-LCHlch(28.25, 71.65, 318.71°)
OKLaboklab(40.59% 0.127 -0.1339)
OKLCHoklch(40.59% 0.185 313.5)
XYZxyz(11.1204, 5.5496, 25.6795)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B148D #368D14
analogous
#2E148D #6B148D #8D1473
triadic
#6B148D #8D6B14 #148D6B
tetradic
#6B148D #8D2E14 #368D14 #14738D
square
#6B148D #8D2E14 #368D14 #14738D
split-complementary
#6B148D #738D14 #148D2E
monochromatic
#1A0522 #420C57 #6B148D #941CC3 #B339E3

Accessibility & contrast

On white

9.95
#6B148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6B148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B148D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B148D#FFFFFF#000000##FFFFFF
##6B148D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#673453
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b148d;
/* rgb */ color: rgb(107, 20, 141);
/* oklch */ color: oklch(40.6% 0.185 313.5);
Tailwind
colors: {
  custom: {
    50: '#9a5faf',
    500: '#6b148d',
    950: '#000000',
  },
}
SCSS
$custom: #6b148d;
$custom-light: #9a5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b148d",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 283.14,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.18453,
    "h": 313.5
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#6B148D
secondary
#61C13C
accent
#F2366B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6B148D

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

Preview Lab → · Contrast checker → · Palette generator →

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