#6B188D#6B188D

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

Color values

HEX#6B188D
RGBrgb(107, 24, 141)
HSLhsl(283, 71%, 32%)
HSVhsv(283, 83%, 55%)
CMYKcmyk(24.1%, 83%, 0%, 44.7%)
CIE-LABlab(28.65, 52.65, -46.63)
CIE-LCHlch(28.65, 70.33, 318.47°)
OKLaboklab(40.88% 0.1241 -0.132)
OKLCHoklch(40.88% 0.181 313.2)
XYZxyz(11.1969, 5.7025, 25.7050)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B188D #3A8D18
analogous
#30188D #6B188D #8D1875
triadic
#6B188D #8D6B18 #188D6B
tetradic
#6B188D #8D3018 #3A8D18 #18758D
square
#6B188D #8D3018 #3A8D18 #18758D
split-complementary
#6B188D #758D18 #188D30
monochromatic
#1C0624 #430F59 #6B188D #9321C1 #B141DF

Accessibility & contrast

On white

9.81
#6B188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B188D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B188D#FFFFFF#000000##FFFFFF
##6B188D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#04458B
Tritanopia (blue-blind)
#673654
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b188d;
/* rgb */ color: rgb(107, 24, 141);
/* oklch */ color: oklch(40.9% 0.181 313.2);
Tailwind
colors: {
  custom: {
    50: '#9a61af',
    500: '#6b188d',
    950: '#000000',
  },
}
SCSS
$custom: #6b188d;
$custom-light: #9a61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b188d",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 282.564,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.18118,
    "h": 313.2
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#6B188D
secondary
#66BF42
accent
#EE3A6E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B188D

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

Preview Lab → · Contrast checker → · Palette generator →

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