#6D189F#6D189F

#6D189F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.198 H 308.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6D189F
RGBrgb(109, 24, 159)
HSLhsl(278, 74%, 36%)
HSVhsv(278, 85%, 62%)
CMYKcmyk(31.4%, 84.9%, 0%, 37.6%)
CIE-LABlab(30.42, 56.80, -54.79)
CIE-LCHlch(30.42, 78.92, 316.04°)
OKLaboklab(42.63% 0.1221 -0.1559)
OKLCHoklch(42.63% 0.198 308.1)
XYZxyz(12.8900, 6.4079, 33.3520)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D189F #4A9F18
analogous
#2A189F #6D189F #9F188D
triadic
#6D189F #9F6D18 #189F6D
tetradic
#6D189F #9F2A18 #4A9F18 #188D9F
square
#6D189F #9F2A18 #4A9F18 #188D9F
split-complementary
#6D189F #8D9F18 #189F2A
monochromatic
#240835 #49106A #6D189F #9120D4 #AC4DE4

Accessibility & contrast

On white

9.20
#6D189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6D189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D189F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D189F#FFFFFF#000000##FFFFFF
##6D189F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d189f;
/* rgb */ color: rgb(109, 24, 159);
/* oklch */ color: oklch(42.6% 0.198 308.1);
Tailwind
colors: {
  custom: {
    50: '#9c62bc',
    500: '#6d189f',
    950: '#000000',
  },
}
SCSS
$custom: #6d189f;
$custom-light: #9c62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d189f",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 277.778,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42626,
    "c": 0.19803,
    "h": 308.1
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#6D189F
secondary
#7AC64D
accent
#F0377C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D189F

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

Preview Lab → · Contrast checker → · Palette generator →

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