#6C189F#6C189F

#6C189F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.5% C 0.198 H 307.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6C189F
RGBrgb(108, 24, 159)
HSLhsl(277, 74%, 36%)
HSVhsv(277, 85%, 62%)
CMYKcmyk(32.1%, 84.9%, 0%, 37.6%)
CIE-LABlab(30.27, 56.65, -55.04)
CIE-LCHlch(30.27, 78.98, 315.82°)
OKLaboklab(42.49% 0.1207 -0.1567)
OKLCHoklch(42.49% 0.198 307.6)
XYZxyz(12.7676, 6.3448, 33.3462)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C189F #4B9F18
analogous
#28189F #6C189F #9F188E
triadic
#6C189F #9F6C18 #189F6C
tetradic
#6C189F #9F2818 #4B9F18 #188E9F
square
#6C189F #9F2818 #4B9F18 #188E9F
split-complementary
#6C189F #8E9F18 #189F28
monochromatic
#240835 #48106A #6C189F #9020D4 #AB4DE4

Accessibility & contrast

On white

9.26
#6C189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6C189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C189F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C189F#FFFFFF#000000##FFFFFF
##6C189F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#633E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c189f;
/* rgb */ color: rgb(108, 24, 159);
/* oklch */ color: oklch(42.5% 0.198 307.6);
Tailwind
colors: {
  custom: {
    50: '#9c62bc',
    500: '#6c189f',
    950: '#000000',
  },
}
SCSS
$custom: #6c189f;
$custom-light: #9c62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c189f",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 277.333,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42488,
    "c": 0.19778,
    "h": 307.6
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#6C189F
secondary
#7BC64D
accent
#F0377D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C189F

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

Preview Lab → · Contrast checker → · Palette generator →

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