#6A289B#6A289B

#6A289B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.178 H 306.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6A289B
RGBrgb(106, 40, 155)
HSLhsl(274, 59%, 38%)
HSVhsv(274, 74%, 61%)
CMYKcmyk(31.6%, 74.2%, 0%, 39.2%)
CIE-LABlab(31.69, 49.51, -50.31)
CIE-LCHlch(31.69, 70.58, 314.54°)
OKLaboklab(43.32% 0.1055 -0.1429)
OKLCHoklch(43.32% 0.178 306.4)
XYZxyz(12.6178, 6.9484, 31.6805)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A289B #599B28
analogous
#31289B #6A289B #9B2892
triadic
#6A289B #9B6A28 #289B6A
tetradic
#6A289B #9B3128 #599B28 #28929B
square
#6A289B #9B3128 #599B28 #28929B
split-complementary
#6A289B #929B28 #289B31
monochromatic
#270F3A #491B6A #6A289B #8B35CB #A766D7

Accessibility & contrast

On white

8.79
#6A289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6A289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A289B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A289B#FFFFFF#000000##FFFFFF
##6A289B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#61435F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a289b;
/* rgb */ color: rgb(106, 40, 155);
/* oklch */ color: oklch(43.3% 0.178 306.4);
Tailwind
colors: {
  custom: {
    50: '#9968b9',
    500: '#6a289b',
    950: '#000000',
  },
}
SCSS
$custom: #6a289b;
$custom-light: #9968b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a289b",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 274.435,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.17768,
    "h": 306.4
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#6A289B
secondary
#89BD61
accent
#E24688
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A289B

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

Preview Lab → · Contrast checker → · Palette generator →

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