#6B148F#6B148F

#6B148F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.8% C 0.186 H 312.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6B148F
RGBrgb(107, 20, 143)
HSLhsl(282, 75%, 32%)
HSVhsv(282, 86%, 56%)
CMYKcmyk(25.2%, 86%, 0%, 43.9%)
CIE-LABlab(28.41, 54.24, -48.26)
CIE-LCHlch(28.41, 72.60, 318.34°)
OKLaboklab(40.76% 0.1265 -0.1368)
OKLCHoklch(40.76% 0.186 312.8)
XYZxyz(11.2706, 5.6096, 26.4703)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B148F #388F14
analogous
#2E148F #6B148F #8F1476
triadic
#6B148F #8F6B14 #148F6B
tetradic
#6B148F #8F2E14 #388F14 #14768F
square
#6B148F #8F2E14 #388F14 #14768F
split-complementary
#6B148F #768F14 #148F2E
monochromatic
#1B0524 #430C59 #6B148F #931CC5 #B23AE3

Accessibility & contrast

On white

9.90
#6B148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6B148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B148F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B148F#FFFFFF#000000##FFFFFF
##6B148F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#673554
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b148f;
/* rgb */ color: rgb(107, 20, 143);
/* oklch */ color: oklch(40.8% 0.186 312.8);
Tailwind
colors: {
  custom: {
    50: '#9a60b1',
    500: '#6b148f',
    950: '#000000',
  },
}
SCSS
$custom: #6b148f;
$custom-light: #9a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b148f",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 282.439,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40755,
    "c": 0.18627,
    "h": 312.8
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#6B148F
secondary
#63C33C
accent
#F2366D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80

Preview Lab

Preview with #6B148F

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

Preview Lab → · Contrast checker → · Palette generator →

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