#6F26AC#6F26AC

#6F26AC is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.198 H 304.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6F26AC
RGBrgb(111, 38, 172)
HSLhsl(273, 64%, 41%)
HSVhsv(273, 78%, 67%)
CMYKcmyk(35.5%, 77.9%, 0%, 32.5%)
CIE-LABlab(33.44, 55.22, -57.68)
CIE-LCHlch(33.44, 79.86, 313.75°)
OKLaboklab(45.13% 0.1108 -0.1644)
OKLCHoklch(45.13% 0.198 304)
XYZxyz(14.6933, 7.7443, 39.7424)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26AC #63AC26
analogous
#2C26AC #6F26AC #AC26A6
triadic
#6F26AC #AC6F26 #26AC6F
tetradic
#6F26AC #AC2C26 #63AC26 #26A6AC
square
#6F26AC #AC2C26 #63AC26 #26A6AC
split-complementary
#6F26AC #A6AC26 #26AC2C
monochromatic
#2E1048 #4F1B7A #6F26AC #8E3BD4 #AB6EDF

Accessibility & contrast

On white

8.24
#6F26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26AC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26AC#FFFFFF#000000##FFFFFF
##6F26AC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#634968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f26ac;
/* rgb */ color: rgb(111, 38, 172);
/* oklch */ color: oklch(45.1% 0.198 304.0);
Tailwind
colors: {
  custom: {
    50: '#9e69c6',
    500: '#6f26ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f26ac;
$custom-light: #9e69c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26ac",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 272.687,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45129,
    "c": 0.19825,
    "h": 304
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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