#6C26BD#6C26BD

#6C26BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.215 H 298.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6C26BD
RGBrgb(108, 38, 189)
HSLhsl(268, 67%, 45%)
HSVhsv(268, 80%, 74%)
CMYKcmyk(42.9%, 79.9%, 0%, 25.9%)
CIE-LABlab(34.49, 58.78, -66.08)
CIE-LCHlch(34.49, 88.44, 311.65°)
OKLaboklab(46.22% 0.1016 -0.1892)
OKLCHoklch(46.22% 0.215 298.2)
XYZxyz(16.0604, 8.2482, 48.8802)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C26BD #77BD26
analogous
#262BBD #6C26BD #B826BD
triadic
#6C26BD #BD6C26 #26BD6C
tetradic
#6C26BD #BD262B #77BD26 #26BDB8
square
#6C26BD #BD262B #77BD26 #26BDB8
split-complementary
#6C26BD #BDB826 #2BBD26
monochromatic
#321257 #4F1C8A #6C26BD #8B46DA #AB79E4

Accessibility & contrast

On white

7.93
#6C26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6C26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C26BD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C26BD#FFFFFF#000000##FFFFFF
##6C26BD1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#575172
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6c26bd;
/* rgb */ color: rgb(108, 38, 189);
/* oklch */ color: oklch(46.2% 0.215 298.2);
Tailwind
colors: {
  custom: {
    50: '#9e69d2',
    500: '#6c26bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c26bd;
$custom-light: #9e69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c26bd",
  "rgb": {
    "r": 108,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 267.815,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.21475,
    "h": 298.2
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#6C26BD
secondary
#A3CC73
accent
#E93E9A
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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