#6F26A5#6F26A5

#6F26A5 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.191 H 306.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6F26A5
RGBrgb(111, 38, 165)
HSLhsl(274, 63%, 40%)
HSVhsv(274, 77%, 65%)
CMYKcmyk(32.7%, 77%, 0%, 35.3%)
CIE-LABlab(32.88, 53.61, -54.40)
CIE-LCHlch(32.88, 76.37, 314.58°)
OKLaboklab(44.56% 0.1124 -0.1548)
OKLCHoklch(44.56% 0.191 306)
XYZxyz(14.0387, 7.4825, 36.2947)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26A5 #5CA526
analogous
#2F26A5 #6F26A5 #A5269C
triadic
#6F26A5 #A56F26 #26A56F
tetradic
#6F26A5 #A52F26 #5CA526 #269CA5
square
#6F26A5 #A52F26 #5CA526 #269CA5
split-complementary
#6F26A5 #9CA526 #26A52F
monochromatic
#2C0F42 #4E1B73 #6F26A5 #9037D1 #AB69DC

Accessibility & contrast

On white

8.41
#6F26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6F26A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26A5
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26A5#FFFFFF#000000##FFFFFF
##6F26A51.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004EA2
Tritanopia (blue-blind)
#654664
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f26a5;
/* rgb */ color: rgb(111, 38, 165);
/* oklch */ color: oklch(44.6% 0.191 306.0);
Tailwind
colors: {
  custom: {
    50: '#9e69c1',
    500: '#6f26a5',
    950: '#000000',
  },
}
SCSS
$custom: #6f26a5;
$custom-light: #9e69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26a5",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 274.488,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.1913,
    "h": 306
  },
  "luminance": 0.07482
}

Semantic roles & 50–950 ramp

primary
#6F26A5
secondary
#8CC364
accent
#E64288
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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