#6A189D#6A189D

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

Color values

HEX#6A189D
RGBrgb(106, 24, 157)
HSLhsl(277, 73%, 35%)
HSVhsv(277, 85%, 62%)
CMYKcmyk(32.5%, 84.7%, 0%, 38.4%)
CIE-LABlab(29.79, 55.90, -54.61)
CIE-LCHlch(29.79, 78.15, 315.67°)
OKLaboklab(42.05% 0.1185 -0.1555)
OKLCHoklch(42.05% 0.195 307.3)
XYZxyz(12.3550, 6.1519, 32.4283)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A189D #4B9D18
analogous
#27189D #6A189D #9D188E
triadic
#6A189D #9D6A18 #189D6A
tetradic
#6A189D #9D2718 #4B9D18 #188E9D
square
#6A189D #9D2718 #4B9D18 #188E9D
split-complementary
#6A189D #8E9D18 #189D27
monochromatic
#220833 #461068 #6A189D #8E20D2 #A94CE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A189D#FFFFFF#000000##FFFFFF
##6A189D1.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)
#0044A0
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#613D5D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a189d;
/* rgb */ color: rgb(106, 24, 157);
/* oklch */ color: oklch(42.0% 0.195 307.3);
Tailwind
colors: {
  custom: {
    50: '#9a62bb',
    500: '#6a189d',
    950: '#000000',
  },
}
SCSS
$custom: #6a189d;
$custom-light: #9a62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a189d",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 276.992,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42045,
    "c": 0.19546,
    "h": 307.3
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#6A189D
secondary
#7AC54B
accent
#F0387E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A189D

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

Preview Lab → · Contrast checker → · Palette generator →

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