#6B148E#6B148E

#6B148E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.185 H 313.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#6B148E
RGBrgb(107, 20, 142)
HSLhsl(283, 75%, 32%)
HSVhsv(283, 86%, 56%)
CMYKcmyk(24.6%, 85.9%, 0%, 44.3%)
CIE-LABlab(28.33, 54.04, -47.77)
CIE-LCHlch(28.33, 72.13, 318.52°)
OKLaboklab(40.67% 0.1267 -0.1353)
OKLCHoklch(40.67% 0.185 313.1)
XYZxyz(11.1952, 5.5795, 26.0732)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B148E #378E14
analogous
#2E148E #6B148E #8E1474
triadic
#6B148E #8E6B14 #148E6B
tetradic
#6B148E #8E2E14 #378E14 #14748E
square
#6B148E #8E2E14 #378E14 #14748E
split-complementary
#6B148E #748E14 #148E2E
monochromatic
#1A0523 #430C58 #6B148E #931CC4 #B239E3

Accessibility & contrast

On white

9.93
#6B148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B148E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B148E#FFFFFF#000000##FFFFFF
##6B148E1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#673454
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b148e;
/* rgb */ color: rgb(107, 20, 142);
/* oklch */ color: oklch(40.7% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#9a60b0',
    500: '#6b148e',
    950: '#000000',
  },
}
SCSS
$custom: #6b148e;
$custom-light: #9a60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b148e",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 282.787,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.1854,
    "h": 313.1
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#6B148E
secondary
#62C23C
accent
#F2366C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0511
muted
#7E7A80

Preview Lab

Preview with #6B148E

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

Preview Lab → · Contrast checker → · Palette generator →

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