#6A269A#6A269A

#6A269A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.0% C 0.179 H 307.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6A269A
RGBrgb(106, 38, 154)
HSLhsl(275, 60%, 38%)
HSVhsv(275, 75%, 60%)
CMYKcmyk(31.2%, 75.3%, 0%, 39.6%)
CIE-LABlab(31.31, 50.14, -50.31)
CIE-LCHlch(31.31, 71.03, 314.90°)
OKLaboklab(43.03% 0.1077 -0.1429)
OKLCHoklch(43.03% 0.179 307)
XYZxyz(12.4685, 6.7836, 31.2181)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A269A #569A26
analogous
#30269A #6A269A #9A2690
triadic
#6A269A #9A6A26 #269A6A
tetradic
#6A269A #9A3026 #569A26 #26909A
square
#6A269A #9A3026 #569A26 #26909A
split-complementary
#6A269A #909A26 #269A30
monochromatic
#260E38 #481A69 #6A269A #8C32CB #A762D8

Accessibility & contrast

On white

8.91
#6A269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6A269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A269A
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A269A#FFFFFF#000000##FFFFFF
##6A269A1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#62425E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a269a;
/* rgb */ color: rgb(106, 38, 154);
/* oklch */ color: oklch(43.0% 0.179 307.0);
Tailwind
colors: {
  custom: {
    50: '#9967b9',
    500: '#6a269a',
    950: '#000000',
  },
}
SCSS
$custom: #6a269a;
$custom-light: #9967b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a269a",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 275.172,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.17897,
    "h": 307
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#6A269A
secondary
#86BE5E
accent
#E44486
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A269A

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

Preview Lab → · Contrast checker → · Palette generator →

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