#6D26A2#6D26A2

#6D26A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.188 H 306.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6D26A2
RGBrgb(109, 38, 162)
HSLhsl(274, 62%, 39%)
HSVhsv(274, 77%, 64%)
CMYKcmyk(32.7%, 76.5%, 0%, 36.5%)
CIE-LABlab(32.36, 52.55, -53.44)
CIE-LCHlch(32.36, 74.95, 314.52°)
OKLaboklab(44.06% 0.1103 -0.152)
OKLCHoklch(44.06% 0.188 306)
XYZxyz(13.5199, 7.2462, 34.8618)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D26A2 #5BA226
analogous
#2F26A2 #6D26A2 #A22699
triadic
#6D26A2 #A26D26 #26A26D
tetradic
#6D26A2 #A22F26 #5BA226 #2699A2
square
#6D26A2 #A22F26 #5BA226 #2699A2
split-complementary
#6D26A2 #99A226 #26A22F
monochromatic
#2A0F3F #4C1A70 #6D26A2 #8E35D0 #AA67DB

Accessibility & contrast

On white

8.57
#6D26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6D26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D26A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D26A2#FFFFFF#000000##FFFFFF
##6D26A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#634563
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d26a2;
/* rgb */ color: rgb(109, 38, 162);
/* oklch */ color: oklch(44.1% 0.188 306.0);
Tailwind
colors: {
  custom: {
    50: '#9c68be',
    500: '#6d26a2',
    950: '#000000',
  },
}
SCSS
$custom: #6d26a2;
$custom-light: #9c68be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d26a2",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 274.355,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44058,
    "c": 0.18782,
    "h": 306
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#6D26A2
secondary
#8BC163
accent
#E54388
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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