#6B189D#6B189D

#6B189D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.196 H 307.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6B189D
RGBrgb(107, 24, 157)
HSLhsl(277, 73%, 35%)
HSVhsv(277, 85%, 62%)
CMYKcmyk(31.8%, 84.7%, 0%, 38.4%)
CIE-LABlab(29.95, 56.06, -54.35)
CIE-LCHlch(29.95, 78.08, 315.88°)
OKLaboklab(42.18% 0.1199 -0.1547)
OKLCHoklch(42.18% 0.196 307.8)
XYZxyz(12.4745, 6.2136, 32.4339)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B189D #4A9D18
analogous
#29189D #6B189D #9D188C
triadic
#6B189D #9D6B18 #189D6B
tetradic
#6B189D #9D2918 #4A9D18 #188C9D
square
#6B189D #9D2918 #4A9D18 #188C9D
split-complementary
#6B189D #8C9D18 #189D29
monochromatic
#230833 #471068 #6B189D #8F20D2 #AB4CE4

Accessibility & contrast

On white

9.36
#6B189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6B189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B189D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B189D#FFFFFF#000000##FFFFFF
##6B189D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b189d;
/* rgb */ color: rgb(107, 24, 157);
/* oklch */ color: oklch(42.2% 0.196 307.8);
Tailwind
colors: {
  custom: {
    50: '#9b62bb',
    500: '#6b189d',
    950: '#000000',
  },
}
SCSS
$custom: #6b189d;
$custom-light: #9b62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b189d",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 277.444,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.1957,
    "h": 307.8
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#6B189D
secondary
#79C54B
accent
#F0387D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B189D

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

Preview Lab → · Contrast checker → · Palette generator →

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