#6F26AA#6F26AA

#6F26AA is a dark, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.196 H 304.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6F26AA
RGBrgb(111, 38, 170)
HSLhsl(273, 63%, 41%)
HSVhsv(273, 78%, 67%)
CMYKcmyk(34.7%, 77.6%, 0%, 33.3%)
CIE-LABlab(33.28, 54.76, -56.75)
CIE-LCHlch(33.28, 78.86, 313.98°)
OKLaboklab(44.96% 0.1113 -0.1617)
OKLCHoklch(44.96% 0.196 304.5)
XYZxyz(14.5027, 7.6681, 38.7385)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26AA #61AA26
analogous
#2D26AA #6F26AA #AA26A3
triadic
#6F26AA #AA6F26 #26AA6F
tetradic
#6F26AA #AA2D26 #61AA26 #26A3AA
square
#6F26AA #AA2D26 #61AA26 #26A3AA
split-complementary
#6F26AA #A3AA26 #26AA2D
monochromatic
#2E1046 #4E1B78 #6F26AA #8F3AD3 #AB6CDE

Accessibility & contrast

On white

8.29
#6F26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6F26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26AA
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26AA#FFFFFF#000000##FFFFFF
##6F26AA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#644867
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f26aa;
/* rgb */ color: rgb(111, 38, 170);
/* oklch */ color: oklch(45.0% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#9e69c4',
    500: '#6f26aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f26aa;
$custom-light: #9e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26aa",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 273.182,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44964,
    "c": 0.19627,
    "h": 304.5
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#6F26AA
secondary
#91C567
accent
#E6418B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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