#6B26BD#6B26BD

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

Color values

HEX#6B26BD
RGBrgb(107, 38, 189)
HSLhsl(267, 67%, 45%)
HSVhsv(267, 80%, 74%)
CMYKcmyk(43.4%, 79.9%, 0%, 25.9%)
CIE-LABlab(34.37, 58.63, -66.29)
CIE-LCHlch(34.37, 88.50, 311.49°)
OKLaboklab(46.11% 0.1001 -0.1898)
OKLCHoklch(46.11% 0.215 297.8)
XYZxyz(15.9394, 8.1859, 48.8745)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B26BD #78BD26
analogous
#262DBD #6B26BD #B726BD
triadic
#6B26BD #BD6B26 #26BD6B
tetradic
#6B26BD #BD262D #78BD26 #26BDB7
square
#6B26BD #BD262D #78BD26 #26BDB7
split-complementary
#6B26BD #BDB726 #2DBD26
monochromatic
#311257 #4E1C8A #6B26BD #8A46DA #AA79E4

Accessibility & contrast

On white

7.96
#6B26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6B26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B26BD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B26BD#FFFFFF#000000##FFFFFF
##6B26BD1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b26bd;
/* rgb */ color: rgb(107, 38, 189);
/* oklch */ color: oklch(46.1% 0.215 297.8);
Tailwind
colors: {
  custom: {
    50: '#9d69d2',
    500: '#6b26bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b26bd;
$custom-light: #9d69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b26bd",
  "rgb": {
    "r": 107,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 267.417,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46105,
    "c": 0.21463,
    "h": 297.8
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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