#6A188A#6A188A

#6A188A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.178 H 313.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6A188A
RGBrgb(106, 24, 138)
HSLhsl(283, 70%, 32%)
HSVhsv(283, 83%, 54%)
CMYKcmyk(23.2%, 82.6%, 0%, 45.9%)
CIE-LABlab(28.25, 51.85, -45.41)
CIE-LCHlch(28.25, 68.92, 318.79°)
OKLaboklab(40.49% 0.1234 -0.1284)
OKLCHoklch(40.49% 0.178 313.9)
XYZxyz(10.8571, 5.5528, 24.5397)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A188A #388A18
analogous
#31188A #6A188A #8A1871
triadic
#6A188A #8A6A18 #188A6A
tetradic
#6A188A #8A3118 #388A18 #18718A
square
#6A188A #8A3118 #388A18 #18718A
split-complementary
#6A188A #718A18 #188A31
monochromatic
#1A0622 #420F56 #6A188A #9221BE #B13FDE

Accessibility & contrast

On white

9.95
#6A188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6A188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A188A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A188A#FFFFFF#000000##FFFFFF
##6A188A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#094488
Tritanopia (blue-blind)
#673452
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a188a;
/* rgb */ color: rgb(106, 24, 138);
/* oklch */ color: oklch(40.5% 0.178 313.9);
Tailwind
colors: {
  custom: {
    50: '#9961ad',
    500: '#6a188a',
    950: '#000000',
  },
}
SCSS
$custom: #6a188a;
$custom-light: #9961ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a188a",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 283.158,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.17814,
    "h": 313.9
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#6A188A
secondary
#63BD40
accent
#ED3B6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A188A

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

Preview Lab → · Contrast checker → · Palette generator →

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