#6B189F#6B189F

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

Color values

HEX#6B189F
RGBrgb(107, 24, 159)
HSLhsl(277, 74%, 36%)
HSVhsv(277, 85%, 62%)
CMYKcmyk(32.7%, 84.9%, 0%, 37.6%)
CIE-LABlab(30.11, 56.49, -55.30)
CIE-LCHlch(30.11, 79.05, 315.61°)
OKLaboklab(42.35% 0.1193 -0.1575)
OKLCHoklch(42.35% 0.198 307.1)
XYZxyz(12.6467, 6.2824, 33.3406)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B189F #4C9F18
analogous
#28189F #6B189F #9F188F
triadic
#6B189F #9F6B18 #189F6B
tetradic
#6B189F #9F2818 #4C9F18 #188F9F
square
#6B189F #9F2818 #4C9F18 #188F9F
split-complementary
#6B189F #8F9F18 #189F28
monochromatic
#230835 #47106A #6B189F #8F20D4 #AA4DE4

Accessibility & contrast

On white

9.31
#6B189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6B189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B189F
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B189F#FFFFFF#000000##FFFFFF
##6B189F1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#623E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b189f;
/* rgb */ color: rgb(107, 24, 159);
/* oklch */ color: oklch(42.4% 0.198 307.1);
Tailwind
colors: {
  custom: {
    50: '#9b62bc',
    500: '#6b189f',
    950: '#000000',
  },
}
SCSS
$custom: #6b189f;
$custom-light: #9b62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b189f",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 276.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.19753,
    "h": 307.1
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B189F

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

Preview Lab → · Contrast checker → · Palette generator →

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