#6B188F#6B188F

#6B188F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.183 H 312.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#6B188F
RGBrgb(107, 24, 143)
HSLhsl(282, 71%, 33%)
HSVhsv(282, 83%, 56%)
CMYKcmyk(25.2%, 83.2%, 0%, 43.9%)
CIE-LABlab(28.81, 53.07, -47.61)
CIE-LCHlch(28.81, 71.30, 318.10°)
OKLaboklab(41.03% 0.1237 -0.1349)
OKLCHoklch(41.03% 0.183 312.5)
XYZxyz(11.3471, 5.7626, 26.4958)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B188F #3C8F18
analogous
#30188F #6B188F #8F1877
triadic
#6B188F #8F6B18 #188F6B
tetradic
#6B188F #8F3018 #3C8F18 #18778F
square
#6B188F #8F3018 #3C8F18 #18778F
split-complementary
#6B188F #778F18 #188F30
monochromatic
#1D0626 #440F5B #6B188F #9221C3 #B042DF

Accessibility & contrast

On white

9.76
#6B188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6B188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B188F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B188F#FFFFFF#000000##FFFFFF
##6B188F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#673655
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b188f;
/* rgb */ color: rgb(107, 24, 143);
/* oklch */ color: oklch(41.0% 0.183 312.5);
Tailwind
colors: {
  custom: {
    50: '#9a61b1',
    500: '#6b188f',
    950: '#000000',
  },
}
SCSS
$custom: #6b188f;
$custom-light: #9a61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b188f",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 281.849,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41034,
    "c": 0.18298,
    "h": 312.5
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#6B188F
secondary
#69C043
accent
#EE3A70
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #6B188F

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

Preview Lab → · Contrast checker → · Palette generator →

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