#6A269D#6A269D

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

Color values

HEX#6A269D
RGBrgb(106, 38, 157)
HSLhsl(274, 61%, 38%)
HSVhsv(274, 76%, 62%)
CMYKcmyk(32.5%, 75.8%, 0%, 38.4%)
CIE-LABlab(31.54, 50.83, -51.76)
CIE-LCHlch(31.54, 72.55, 314.48°)
OKLaboklab(43.27% 0.1071 -0.1472)
OKLCHoklch(43.27% 0.182 306)
XYZxyz(12.7214, 6.8848, 32.5505)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A269D #599D26
analogous
#2E269D #6A269D #9D2694
triadic
#6A269D #9D6A26 #269D6A
tetradic
#6A269D #9D2E26 #599D26 #26949D
square
#6A269D #9D2E26 #599D26 #26949D
split-complementary
#6A269D #949D26 #269D2E
monochromatic
#270E3A #491A6C #6A269D #8B33CE #A764D9

Accessibility & contrast

On white

8.83
#6A269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6A269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A269D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A269D#FFFFFF#000000##FFFFFF
##6A269D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#614360
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a269d;
/* rgb */ color: rgb(106, 38, 157);
/* oklch */ color: oklch(43.3% 0.182 306.0);
Tailwind
colors: {
  custom: {
    50: '#9a68bb',
    500: '#6a269d',
    950: '#000000',
  },
}
SCSS
$custom: #6a269d;
$custom-light: #9a68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a269d",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 274.286,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43269,
    "c": 0.18203,
    "h": 306
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#6A269D
secondary
#89BF60
accent
#E44488
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A269D

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

Preview Lab → · Contrast checker → · Palette generator →

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