#6A269B#6A269B

#6A269B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 306.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#6A269B
RGBrgb(106, 38, 155)
HSLhsl(275, 61%, 38%)
HSVhsv(275, 75%, 61%)
CMYKcmyk(31.6%, 75.5%, 0%, 39.2%)
CIE-LABlab(31.39, 50.37, -50.80)
CIE-LCHlch(31.39, 71.53, 314.76°)
OKLaboklab(43.11% 0.1075 -0.1444)
OKLCHoklch(43.11% 0.18 306.7)
XYZxyz(12.5521, 6.8171, 31.6586)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A269B #579B26
analogous
#30269B #6A269B #9B2691
triadic
#6A269B #9B6A26 #269B6A
tetradic
#6A269B #9B3026 #579B26 #26919B
square
#6A269B #9B3026 #579B26 #26919B
split-complementary
#6A269B #919B26 #269B30
monochromatic
#270E39 #481A6A #6A269B #8C32CC #A763D9

Accessibility & contrast

On white

8.89
#6A269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A269B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A269B#FFFFFF#000000##FFFFFF
##6A269B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#62425F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a269b;
/* rgb */ color: rgb(106, 38, 155);
/* oklch */ color: oklch(43.1% 0.180 306.7);
Tailwind
colors: {
  custom: {
    50: '#9967b9',
    500: '#6a269b',
    950: '#000000',
  },
}
SCSS
$custom: #6a269b;
$custom-light: #9967b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a269b",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 274.872,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4311,
    "c": 0.17999,
    "h": 306.7
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#6A269B
secondary
#87BE5F
accent
#E44487
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6A269B

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

Preview Lab → · Contrast checker → · Palette generator →

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