#6A289D#6A289D

#6A289D is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.180 H 305.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6A289D
RGBrgb(106, 40, 157)
HSLhsl(274, 59%, 39%)
HSVhsv(274, 75%, 62%)
CMYKcmyk(32.5%, 74.5%, 0%, 38.4%)
CIE-LABlab(31.84, 49.98, -51.27)
CIE-LCHlch(31.84, 71.60, 314.27°)
OKLaboklab(43.48% 0.1052 -0.1458)
OKLCHoklch(43.48% 0.18 305.8)
XYZxyz(12.7871, 7.0162, 32.5724)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A289D #5B9D28
analogous
#2F289D #6A289D #9D2895
triadic
#6A289D #9D6A28 #289D6A
tetradic
#6A289D #9D2F28 #5B9D28 #28959D
square
#6A289D #9D2F28 #5B9D28 #28959D
split-complementary
#6A289D #959D28 #289D2F
monochromatic
#280F3B #491C6C #6A289D #8B36CC #A767D8

Accessibility & contrast

On white

8.74
#6A289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6A289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A289D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A289D#FFFFFF#000000##FFFFFF
##6A289D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#004B9B
Tritanopia (blue-blind)
#614460
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a289d;
/* rgb */ color: rgb(106, 40, 157);
/* oklch */ color: oklch(43.5% 0.180 305.8);
Tailwind
colors: {
  custom: {
    50: '#9969bb',
    500: '#6a289d',
    950: '#000000',
  },
}
SCSS
$custom: #6a289d;
$custom-light: #9969bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a289d",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 273.846,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43481,
    "c": 0.17975,
    "h": 305.8
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#6A289D
secondary
#8BBE62
accent
#E3458A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A289D

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

Preview Lab → · Contrast checker → · Palette generator →

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