#6A189E#6A189E

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

Color values

HEX#6A189E
RGBrgb(106, 24, 158)
HSLhsl(277, 74%, 36%)
HSVhsv(277, 85%, 62%)
CMYKcmyk(32.9%, 84.8%, 0%, 38%)
CIE-LABlab(29.88, 56.12, -55.08)
CIE-LCHlch(29.88, 78.63, 315.54°)
OKLaboklab(42.13% 0.1181 -0.1569)
OKLCHoklch(42.13% 0.196 307)
XYZxyz(12.4407, 6.1862, 32.8798)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A189E #4C9E18
analogous
#27189E #6A189E #9E188F
triadic
#6A189E #9E6A18 #189E6A
tetradic
#6A189E #9E2718 #4C9E18 #188F9E
square
#6A189E #9E2718 #4C9E18 #188F9E
split-complementary
#6A189E #8F9E18 #189E27
monochromatic
#230834 #461069 #6A189E #8E20D3 #A94DE4

Accessibility & contrast

On white

9.39
#6A189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A189E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A189E#FFFFFF#000000##FFFFFF
##6A189E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00479B
Tritanopia (blue-blind)
#613E5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a189e;
/* rgb */ color: rgb(106, 24, 158);
/* oklch */ color: oklch(42.1% 0.196 307.0);
Tailwind
colors: {
  custom: {
    50: '#9a62bc',
    500: '#6a189e',
    950: '#000000',
  },
}
SCSS
$custom: #6a189e;
$custom-light: #9a62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a189e",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 276.716,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4213,
    "c": 0.19637,
    "h": 307
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#6A189E
secondary
#7BC64C
accent
#F0387F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A189E

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

Preview Lab → · Contrast checker → · Palette generator →

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