#6A289E#6A289E

#6A289E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.181 H 305.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6A289E
RGBrgb(106, 40, 158)
HSLhsl(274, 60%, 39%)
HSVhsv(274, 75%, 62%)
CMYKcmyk(32.9%, 74.7%, 0%, 38%)
CIE-LABlab(31.92, 50.21, -51.75)
CIE-LCHlch(31.92, 72.11, 314.14°)
OKLaboklab(43.56% 0.105 -0.1472)
OKLCHoklch(43.56% 0.181 305.5)
XYZxyz(12.8728, 7.0505, 33.0238)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A289E #5C9E28
analogous
#2F289E #6A289E #9E2897
triadic
#6A289E #9E6A28 #289E6A
tetradic
#6A289E #9E2F28 #5C9E28 #28979E
square
#6A289E #9E2F28 #5C9E28 #28979E
split-complementary
#6A289E #979E28 #289E2F
monochromatic
#280F3C #491C6D #6A289E #8A37CC #A768D9

Accessibility & contrast

On white

8.71
#6A289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6A289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A289E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A289E#FFFFFF#000000##FFFFFF
##6A289E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#604561
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a289e;
/* rgb */ color: rgb(106, 40, 158);
/* oklch */ color: oklch(43.6% 0.181 305.5);
Tailwind
colors: {
  custom: {
    50: '#9a69bb',
    500: '#6a289e',
    950: '#000000',
  },
}
SCSS
$custom: #6a289e;
$custom-light: #9a69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a289e",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 273.559,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43561,
    "c": 0.18078,
    "h": 305.5
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A289E

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

Preview Lab → · Contrast checker → · Palette generator →

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