#6D26AF#6D26AF

#6D26AF is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.201 H 302.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6D26AF
RGBrgb(109, 38, 175)
HSLhsl(271, 64%, 42%)
HSVhsv(271, 78%, 69%)
CMYKcmyk(37.7%, 78.3%, 0%, 31.4%)
CIE-LABlab(33.42, 55.59, -59.53)
CIE-LCHlch(33.42, 81.45, 313.04°)
OKLaboklab(45.13% 0.1071 -0.1699)
OKLCHoklch(45.13% 0.201 302.2)
XYZxyz(14.7358, 7.7325, 41.2653)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D26AF #68AF26
analogous
#2926AF #6D26AF #AF26AD
triadic
#6D26AF #AF6D26 #26AF6D
tetradic
#6D26AF #AF2926 #68AF26 #26ADAF
square
#6D26AF #AF2926 #68AF26 #26ADAF
split-complementary
#6D26AF #ADAF26 #26AF29
monochromatic
#2E104A #4E1B7D #6D26AF #8C3DD5 #AA70E0

Accessibility & contrast

On white

8.25
#6D26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6D26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D26AF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D26AF#FFFFFF#000000##FFFFFF
##6D26AF1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#5F4A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d26af;
/* rgb */ color: rgb(109, 38, 175);
/* oklch */ color: oklch(45.1% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#9d69c8',
    500: '#6d26af',
    950: '#000000',
  },
}
SCSS
$custom: #6d26af;
$custom-light: #9d69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d26af",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 271.095,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4513,
    "c": 0.20085,
    "h": 302.2
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#6D26AF
secondary
#97C76A
accent
#E74091
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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