#6D189B#6D189B

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

Color values

HEX#6D189B
RGBrgb(109, 24, 155)
HSLhsl(279, 73%, 35%)
HSVhsv(279, 85%, 61%)
CMYKcmyk(29.7%, 84.5%, 0%, 39.2%)
CIE-LABlab(30.09, 55.95, -52.89)
CIE-LCHlch(30.09, 76.99, 316.61°)
OKLaboklab(42.29% 0.1233 -0.1503)
OKLCHoklch(42.29% 0.194 309.4)
XYZxyz(12.5485, 6.2713, 31.5534)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D189B #469B18
analogous
#2B189B #6D189B #9B1888
triadic
#6D189B #9B6D18 #189B6D
tetradic
#6D189B #9B2B18 #469B18 #18889B
square
#6D189B #9B2B18 #469B18 #18889B
split-complementary
#6D189B #889B18 #189B2B
monochromatic
#220831 #481066 #6D189B #9220D0 #AD4AE3

Accessibility & contrast

On white

9.32
#6D189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D189B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D189B#FFFFFF#000000##FFFFFF
##6D189B1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#663C5C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d189b;
/* rgb */ color: rgb(109, 24, 155);
/* oklch */ color: oklch(42.3% 0.194 309.4);
Tailwind
colors: {
  custom: {
    50: '#9c62b9',
    500: '#6d189b',
    950: '#000000',
  },
}
SCSS
$custom: #6d189b;
$custom-light: #9c62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d189b",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 278.931,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42292,
    "c": 0.19441,
    "h": 309.4
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#6D189B
secondary
#75C54A
accent
#F03879
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D189B

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

Preview Lab → · Contrast checker → · Palette generator →

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