#6A289C#6A289C

#6A289C is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.179 H 306.1°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#6A289C
RGBrgb(106, 40, 156)
HSLhsl(274, 59%, 38%)
HSVhsv(274, 74%, 61%)
CMYKcmyk(32.1%, 74.4%, 0%, 38.8%)
CIE-LABlab(31.77, 49.74, -50.79)
CIE-LCHlch(31.77, 71.09, 314.40°)
OKLaboklab(43.4% 0.1054 -0.1444)
OKLCHoklch(43.4% 0.179 306.1)
XYZxyz(12.7021, 6.9822, 32.1246)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A289C #5A9C28
analogous
#30289C #6A289C #9C2894
triadic
#6A289C #9C6A28 #289C6A
tetradic
#6A289C #9C3028 #5A9C28 #28949C
square
#6A289C #9C3028 #5A9C28 #28949C
split-complementary
#6A289C #949C28 #289C30
monochromatic
#280F3B #491C6B #6A289C #8B36CB #A767D8

Accessibility & contrast

On white

8.76
#6A289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A289C
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A289C#FFFFFF#000000##FFFFFF
##6A289C1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#614460
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a289c;
/* rgb */ color: rgb(106, 40, 156);
/* oklch */ color: oklch(43.4% 0.179 306.1);
Tailwind
colors: {
  custom: {
    50: '#9969ba',
    500: '#6a289c',
    950: '#000000',
  },
}
SCSS
$custom: #6a289c;
$custom-light: #9969ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a289c",
  "rgb": {
    "r": 106,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 274.138,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.17871,
    "h": 306.1
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#6A289C
secondary
#8ABE62
accent
#E24589
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6A289C

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

Preview Lab → · Contrast checker → · Palette generator →

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