#6A289F#6A289F

#6A289F is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.182 H 305.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6A289F
RGBrgb(106, 40, 159)
HSLhsl(273, 60%, 39%)
HSVhsv(273, 75%, 62%)
CMYKcmyk(33.3%, 74.8%, 0%, 37.6%)
CIE-LABlab(32.00, 50.45, -52.23)
CIE-LCHlch(32.00, 72.62, 314.01°)
OKLaboklab(43.64% 0.1048 -0.1486)
OKLCHoklch(43.64% 0.182 305.2)
XYZxyz(12.9593, 7.0850, 33.4790)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A289F #5D9F28
analogous
#2E289F #6A289F #9F2899
triadic
#6A289F #9F6A28 #289F6A
tetradic
#6A289F #9F2E28 #5D9F28 #28999F
square
#6A289F #9F2E28 #5D9F28 #28999F
split-complementary
#6A289F #999F28 #289F2E
monochromatic
#290F3D #491C6E #6A289F #8A37CD #A768D9

Accessibility & contrast

On white

8.69
#6A289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6A289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A289F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A289F#FFFFFF#000000##FFFFFF
##6A289F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#604561
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a289f;
/* rgb */ color: rgb(106, 40, 159);
/* oklch */ color: oklch(43.6% 0.182 305.2);
Tailwind
colors: {
  custom: {
    50: '#9a69bc',
    500: '#6a289f',
    950: '#000000',
  },
}
SCSS
$custom: #6a289f;
$custom-light: #9a69bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a289f",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 273.277,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.18181,
    "h": 305.2
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#6A289F
secondary
#8CBF64
accent
#E3458B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A289F

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

Preview Lab → · Contrast checker → · Palette generator →

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