#6D26BD#6D26BD

#6D26BD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.215 H 298.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6D26BD
RGBrgb(109, 38, 189)
HSLhsl(268, 67%, 45%)
HSVhsv(268, 80%, 74%)
CMYKcmyk(42.3%, 79.9%, 0%, 25.9%)
CIE-LABlab(34.62, 58.92, -65.86)
CIE-LCHlch(34.62, 88.37, 311.82°)
OKLaboklab(46.34% 0.1031 -0.1885)
OKLCHoklch(46.34% 0.215 298.7)
XYZxyz(16.1827, 8.3113, 48.8859)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D26BD #76BD26
analogous
#262ABD #6D26BD #B926BD
triadic
#6D26BD #BD6D26 #26BD6D
tetradic
#6D26BD #BD262A #76BD26 #26BDB9
square
#6D26BD #BD262A #76BD26 #26BDB9
split-complementary
#6D26BD #BDB926 #2ABD26
monochromatic
#321257 #501C8A #6D26BD #8C46DA #AC79E4

Accessibility & contrast

On white

7.89
#6D26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6D26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D26BD
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D26BD#FFFFFF#000000##FFFFFF
##6D26BD1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#595072
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d26bd;
/* rgb */ color: rgb(109, 38, 189);
/* oklch */ color: oklch(46.3% 0.215 298.7);
Tailwind
colors: {
  custom: {
    50: '#9f6ad2',
    500: '#6d26bd',
    950: '#000000',
  },
}
SCSS
$custom: #6d26bd;
$custom-light: #9f6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d26bd",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 268.212,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46339,
    "c": 0.21487,
    "h": 298.7
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#6D26BD
secondary
#A2CC73
accent
#E93E99
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6D26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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