#6D26A8#6D26A8

#6D26A8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.194 H 304.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6D26A8
RGBrgb(109, 38, 168)
HSLhsl(273, 63%, 40%)
HSVhsv(273, 77%, 66%)
CMYKcmyk(35.1%, 77.4%, 0%, 34.1%)
CIE-LABlab(32.84, 53.95, -56.28)
CIE-LCHlch(32.84, 77.96, 313.79°)
OKLaboklab(44.55% 0.1089 -0.1604)
OKLCHoklch(44.55% 0.194 304.2)
XYZxyz(14.0660, 7.4646, 37.7380)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D26A8 #61A826
analogous
#2C26A8 #6D26A8 #A826A2
triadic
#6D26A8 #A86D26 #26A86D
tetradic
#6D26A8 #A82C26 #61A826 #26A2A8
square
#6D26A8 #A82C26 #61A826 #26A2A8
split-complementary
#6D26A8 #A2A826 #26A82C
monochromatic
#2C0F44 #4D1B76 #6D26A8 #8D39D2 #A96BDE

Accessibility & contrast

On white

8.42
#6D26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6D26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D26A8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D26A8#FFFFFF#000000##FFFFFF
##6D26A81.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#614766
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d26a8;
/* rgb */ color: rgb(109, 38, 168);
/* oklch */ color: oklch(44.5% 0.194 304.2);
Tailwind
colors: {
  custom: {
    50: '#9c68c3',
    500: '#6d26a8',
    950: '#000000',
  },
}
SCSS
$custom: #6d26a8;
$custom-light: #9c68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d26a8",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 272.769,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44546,
    "c": 0.19383,
    "h": 304.2
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#6D26A8
secondary
#91C466
accent
#E6428C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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