#6B189B#6B189B

#6B189B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 42.0% C 0.194 H 308.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#6B189B
RGBrgb(107, 24, 155)
HSLhsl(278, 73%, 35%)
HSVhsv(278, 85%, 61%)
CMYKcmyk(31%, 84.5%, 0%, 39.2%)
CIE-LABlab(29.78, 55.63, -53.41)
CIE-LCHlch(29.78, 77.11, 316.17°)
OKLaboklab(42.01% 0.1205 -0.1519)
OKLCHoklch(42.01% 0.194 308.4)
XYZxyz(12.3052, 6.1458, 31.5420)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B189B #489B18
analogous
#29189B #6B189B #9B188A
triadic
#6B189B #9B6B18 #189B6B
tetradic
#6B189B #9B2918 #489B18 #188A9B
square
#6B189B #9B2918 #489B18 #188A9B
split-complementary
#6B189B #8A9B18 #189B29
monochromatic
#220831 #461066 #6B189B #9020D0 #AB4AE3

Accessibility & contrast

On white

9.42
#6B189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6B189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B189B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B189B#FFFFFF#000000##FFFFFF
##6B189B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#633C5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b189b;
/* rgb */ color: rgb(107, 24, 155);
/* oklch */ color: oklch(42.0% 0.194 308.4);
Tailwind
colors: {
  custom: {
    50: '#9b62b9',
    500: '#6b189b',
    950: '#000000',
  },
}
SCSS
$custom: #6b189b;
$custom-light: #9b62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b189b",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 278.015,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.19387,
    "h": 308.4
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#6B189B
secondary
#77C54A
accent
#F0387B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B189B

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

Preview Lab → · Contrast checker → · Palette generator →

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