#6A26AF#6A26AF

#6A26AF is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.200 H 300.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6A26AF
RGBrgb(106, 38, 175)
HSLhsl(270, 64%, 42%)
HSVhsv(270, 78%, 69%)
CMYKcmyk(39.4%, 78.3%, 0%, 31.4%)
CIE-LABlab(33.02, 55.10, -60.20)
CIE-LCHlch(33.02, 81.61, 312.47°)
OKLaboklab(44.76% 0.1027 -0.172)
OKLCHoklch(44.76% 0.2 300.8)
XYZxyz(14.3729, 7.5454, 41.2483)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A26AF #6BAF26
analogous
#2627AF #6A26AF #AF26AF
triadic
#6A26AF #AF6A26 #26AF6A
tetradic
#6A26AF #AF2627 #6BAF26 #26AFAF
square
#6A26AF #AF2627 #6BAF26 #26AFAF
split-complementary
#6A26AF #AFAF26 #27AF26
monochromatic
#2D104A #4C1B7D #6A26AF #893DD5 #A770E0

Accessibility & contrast

On white

8.37
#6A26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6A26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A26AF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A26AF#FFFFFF#000000##FFFFFF
##6A26AF1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#5A4B6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a26af;
/* rgb */ color: rgb(106, 38, 175);
/* oklch */ color: oklch(44.8% 0.200 300.8);
Tailwind
colors: {
  custom: {
    50: '#9b68c8',
    500: '#6a26af',
    950: '#000000',
  },
}
SCSS
$custom: #6a26af;
$custom-light: #9b68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a26af",
  "rgb": {
    "r": 106,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 269.781,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.20034,
    "h": 300.8
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#6A26AF
secondary
#99C76A
accent
#E74095
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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