#6F26AB#6F26AB

#6F26AB is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.197 H 304.2°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6F26AB
RGBrgb(111, 38, 171)
HSLhsl(273, 64%, 41%)
HSVhsv(273, 78%, 67%)
CMYKcmyk(35.1%, 77.8%, 0%, 32.9%)
CIE-LABlab(33.36, 54.99, -57.22)
CIE-LCHlch(33.36, 79.36, 313.86°)
OKLaboklab(45.05% 0.111 -0.1631)
OKLCHoklch(45.05% 0.197 304.2)
XYZxyz(14.5976, 7.7061, 39.2386)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26AB #62AB26
analogous
#2C26AB #6F26AB #AB26A4
triadic
#6F26AB #AB6F26 #26AB6F
tetradic
#6F26AB #AB2C26 #62AB26 #26A4AB
square
#6F26AB #AB2C26 #62AB26 #26A4AB
split-complementary
#6F26AB #A4AB26 #26AB2C
monochromatic
#2E1047 #4E1B79 #6F26AB #8F3BD3 #AB6DDF

Accessibility & contrast

On white

8.26
#6F26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6F26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26AB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26AB#FFFFFF#000000##FFFFFF
##6F26AB1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#634868
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f26ab;
/* rgb */ color: rgb(111, 38, 171);
/* oklch */ color: oklch(45.0% 0.197 304.2);
Tailwind
colors: {
  custom: {
    50: '#9e69c5',
    500: '#6f26ab',
    950: '#000000',
  },
}
SCSS
$custom: #6f26ab;
$custom-light: #9e69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26ab",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 272.932,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45046,
    "c": 0.19726,
    "h": 304.2
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#6F26AB
secondary
#92C568
accent
#E7418C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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