#6F26BD#6F26BD

#6F26BD is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.215 H 299.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6F26BD
RGBrgb(111, 38, 189)
HSLhsl(269, 67%, 45%)
HSVhsv(269, 80%, 74%)
CMYKcmyk(41.3%, 79.9%, 0%, 25.9%)
CIE-LABlab(34.88, 59.22, -65.43)
CIE-LCHlch(34.88, 88.25, 312.15°)
OKLaboklab(46.58% 0.106 -0.1872)
OKLCHoklch(46.58% 0.215 299.5)
XYZxyz(16.4316, 8.4397, 48.8976)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26BD #74BD26
analogous
#2628BD #6F26BD #BB26BD
triadic
#6F26BD #BD6F26 #26BD6F
tetradic
#6F26BD #BD2628 #74BD26 #26BDBB
square
#6F26BD #BD2628 #74BD26 #26BDBB
split-complementary
#6F26BD #BDBB26 #28BD26
monochromatic
#331257 #511C8A #6F26BD #8E46DA #AD79E4

Accessibility & contrast

On white

7.81
#6F26BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6F26BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26BD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26BD#FFFFFF#000000##FFFFFF
##6F26BD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#5C5072
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f26bd;
/* rgb */ color: rgb(111, 38, 189);
/* oklch */ color: oklch(46.6% 0.215 299.5);
Tailwind
colors: {
  custom: {
    50: '#a06ad2',
    500: '#6f26bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f26bd;
$custom-light: #a06ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26bd",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 269.007,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46576,
    "c": 0.21513,
    "h": 299.5
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#6F26BD
secondary
#A1CC73
accent
#E93E97
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6F26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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