#6A189F#6A189F

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

Color values

HEX#6A189F
RGBrgb(106, 24, 159)
HSLhsl(276, 74%, 36%)
HSVhsv(276, 85%, 62%)
CMYKcmyk(33.3%, 84.9%, 0%, 37.6%)
CIE-LABlab(29.96, 56.34, -55.55)
CIE-LCHlch(29.96, 79.12, 315.40°)
OKLaboklab(42.22% 0.1178 -0.1582)
OKLCHoklch(42.22% 0.197 306.7)
XYZxyz(12.5271, 6.2208, 33.3350)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A189F #4D9F18
analogous
#26189F #6A189F #9F1890
triadic
#6A189F #9F6A18 #189F6A
tetradic
#6A189F #9F2618 #4D9F18 #18909F
square
#6A189F #9F2618 #4D9F18 #18909F
split-complementary
#6A189F #909F18 #189F26
monochromatic
#230835 #47106A #6A189F #8D20D4 #A94DE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A189F#FFFFFF#000000##FFFFFF
##6A189F1.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)
#0044A2
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#613E5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a189f;
/* rgb */ color: rgb(106, 24, 159);
/* oklch */ color: oklch(42.2% 0.197 306.7);
Tailwind
colors: {
  custom: {
    50: '#9a62bc',
    500: '#6a189f',
    950: '#000000',
  },
}
SCSS
$custom: #6a189f;
$custom-light: #9a62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a189f",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 276.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.19729,
    "h": 306.7
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#6A189F
secondary
#7CC64D
accent
#F03780
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A189F

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

Preview Lab → · Contrast checker → · Palette generator →

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