#6F26AE#6F26AE

#6F26AE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.200 H 303.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6F26AE
RGBrgb(111, 38, 174)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 68%)
CMYKcmyk(36.2%, 78.2%, 0%, 31.8%)
CIE-LABlab(33.61, 55.69, -58.61)
CIE-LCHlch(33.61, 80.85, 313.54°)
OKLaboklab(45.3% 0.1103 -0.1672)
OKLCHoklch(45.3% 0.2 303.4)
XYZxyz(14.8868, 7.8217, 40.7617)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26AE #65AE26
analogous
#2B26AE #6F26AE #AE26A9
triadic
#6F26AE #AE6F26 #26AE6F
tetradic
#6F26AE #AE2B26 #65AE26 #26A9AE
square
#6F26AE #AE2B26 #65AE26 #26A9AE
split-complementary
#6F26AE #A9AE26 #26AE2B
monochromatic
#2F104A #4F1B7C #6F26AE #8E3DD5 #AB6FE0

Accessibility & contrast

On white

8.19
#6F26AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F26AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26AE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26AE#FFFFFF#000000##FFFFFF
##6F26AE1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#624A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f26ae;
/* rgb */ color: rgb(111, 38, 174);
/* oklch */ color: oklch(45.3% 0.200 303.4);
Tailwind
colors: {
  custom: {
    50: '#9e69c7',
    500: '#6f26ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f26ae;
$custom-light: #9e69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26ae",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 272.206,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45295,
    "c": 0.20024,
    "h": 303.4
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#6F26AE
secondary
#94C66A
accent
#E7418E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F26AE

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

Preview Lab → · Contrast checker → · Palette generator →

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