#6C189D#6C189D

#6C189D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.196 H 308.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6C189D
RGBrgb(108, 24, 157)
HSLhsl(278, 73%, 35%)
HSVhsv(278, 85%, 62%)
CMYKcmyk(31.2%, 84.7%, 0%, 38.4%)
CIE-LABlab(30.10, 56.22, -54.10)
CIE-LCHlch(30.10, 78.02, 316.10°)
OKLaboklab(42.32% 0.1213 -0.1539)
OKLCHoklch(42.32% 0.196 308.2)
XYZxyz(12.5955, 6.2759, 32.4396)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C189D #499D18
analogous
#2A189D #6C189D #9D188B
triadic
#6C189D #9D6C18 #189D6C
tetradic
#6C189D #9D2A18 #499D18 #188B9D
square
#6C189D #9D2A18 #499D18 #188B9D
split-complementary
#6C189D #8B9D18 #189D2A
monochromatic
#230833 #471068 #6C189D #9120D2 #AC4CE4

Accessibility & contrast

On white

9.31
#6C189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6C189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C189D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C189D#FFFFFF#000000##FFFFFF
##6C189D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#643D5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c189d;
/* rgb */ color: rgb(108, 24, 157);
/* oklch */ color: oklch(42.3% 0.196 308.2);
Tailwind
colors: {
  custom: {
    50: '#9c62bb',
    500: '#6c189d',
    950: '#000000',
  },
}
SCSS
$custom: #6c189d;
$custom-light: #9c62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c189d",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 277.895,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4232,
    "c": 0.19596,
    "h": 308.2
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#6C189D
secondary
#78C54B
accent
#F0387C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C189D

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

Preview Lab → · Contrast checker → · Palette generator →

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