#6D189D#6D189D

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

Color values

HEX#6D189D
RGBrgb(109, 24, 157)
HSLhsl(278, 73%, 35%)
HSVhsv(278, 85%, 62%)
CMYKcmyk(30.6%, 84.7%, 0%, 38.4%)
CIE-LABlab(30.25, 56.38, -53.84)
CIE-LCHlch(30.25, 77.95, 316.32°)
OKLaboklab(42.46% 0.1227 -0.1531)
OKLCHoklch(42.46% 0.196 308.7)
XYZxyz(12.7178, 6.3390, 32.4453)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D189D #489D18
analogous
#2A189D #6D189D #9D188A
triadic
#6D189D #9D6D18 #189D6D
tetradic
#6D189D #9D2A18 #489D18 #188A9D
square
#6D189D #9D2A18 #489D18 #188A9D
split-complementary
#6D189D #8A9D18 #189D2A
monochromatic
#230833 #481068 #6D189D #9220D2 #AD4CE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D189D#FFFFFF#000000##FFFFFF
##6D189D1.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)
#0044A0
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#653D5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d189d;
/* rgb */ color: rgb(109, 24, 157);
/* oklch */ color: oklch(42.5% 0.196 308.7);
Tailwind
colors: {
  custom: {
    50: '#9c62bb',
    500: '#6d189d',
    950: '#000000',
  },
}
SCSS
$custom: #6d189d;
$custom-light: #9c62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d189d",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 278.346,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42458,
    "c": 0.19622,
    "h": 308.7
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#6D189D
secondary
#77C54B
accent
#F0387A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D189D

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

Preview Lab → · Contrast checker → · Palette generator →

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