#6B148A#6B148A

#6B148A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.182 H 314.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6B148A
RGBrgb(107, 20, 138)
HSLhsl(284, 75%, 31%)
HSVhsv(284, 86%, 54%)
CMYKcmyk(22.5%, 85.5%, 0%, 45.9%)
CIE-LABlab(28.01, 53.22, -45.80)
CIE-LCHlch(28.01, 70.21, 319.29°)
OKLaboklab(40.36% 0.1277 -0.1295)
OKLCHoklch(40.36% 0.182 314.6)
XYZxyz(10.9002, 5.4615, 24.5198)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B148A #338A14
analogous
#30148A #6B148A #8A146E
triadic
#6B148A #8A6B14 #148A6B
tetradic
#6B148A #8A3014 #338A14 #146E8A
square
#6B148A #8A3014 #338A14 #146E8A
split-complementary
#6B148A #6E8A14 #148A30
monochromatic
#18051F #420C55 #6B148A #941CBF #B536E2

Accessibility & contrast

On white

10.04
#6B148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B148A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B148A#FFFFFF#000000##FFFFFF
##6B148A1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#074488
Tritanopia (blue-blind)
#683251
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b148a;
/* rgb */ color: rgb(107, 20, 138);
/* oklch */ color: oklch(40.4% 0.182 314.6);
Tailwind
colors: {
  custom: {
    50: '#9a5fad',
    500: '#6b148a',
    950: '#000000',
  },
}
SCSS
$custom: #6b148a;
$custom-light: #9a5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b148a",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 284.237,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.1819,
    "h": 314.6
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#6B148A
secondary
#5EBE3C
accent
#F13668
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6B148A

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

Preview Lab → · Contrast checker → · Palette generator →

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