#6F26A4#6F26A4

#6F26A4 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.190 H 306.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#6F26A4
RGBrgb(111, 38, 164)
HSLhsl(275, 62%, 40%)
HSVhsv(275, 77%, 64%)
CMYKcmyk(32.3%, 76.8%, 0%, 35.7%)
CIE-LABlab(32.80, 53.38, -53.92)
CIE-LCHlch(32.80, 75.87, 314.71°)
OKLaboklab(44.48% 0.1127 -0.1534)
OKLCHoklch(44.48% 0.19 306.3)
XYZxyz(13.9480, 7.4462, 35.8172)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26A4 #5BA426
analogous
#3026A4 #6F26A4 #A4269A
triadic
#6F26A4 #A46F26 #26A46F
tetradic
#6F26A4 #A43026 #5BA426 #269AA4
square
#6F26A4 #A43026 #5BA426 #269AA4
split-complementary
#6F26A4 #9AA426 #26A430
monochromatic
#2C0F41 #4D1A72 #6F26A4 #9037D1 #AB68DC

Accessibility & contrast

On white

8.44
#6F26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6F26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26A4
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26A4#FFFFFF#000000##FFFFFF
##6F26A41.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#664564
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f26a4;
/* rgb */ color: rgb(111, 38, 164);
/* oklch */ color: oklch(44.5% 0.190 306.3);
Tailwind
colors: {
  custom: {
    50: '#9d68c0',
    500: '#6f26a4',
    950: '#000000',
  },
}
SCSS
$custom: #6f26a4;
$custom-light: #9d68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26a4",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 274.762,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.1903,
    "h": 306.3
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#6F26A4
secondary
#8BC264
accent
#E54287
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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