#6F26C7#6F26C7

#6F26C7 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.225 H 297.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6F26C7
RGBrgb(111, 38, 199)
HSLhsl(267, 68%, 46%)
HSVhsv(267, 81%, 78%)
CMYKcmyk(44.2%, 80.9%, 0%, 22%)
CIE-LABlab(35.77, 61.60, -69.84)
CIE-LCHlch(35.77, 93.13, 311.41°)
OKLaboklab(47.46% 0.1029 -0.2001)
OKLCHoklch(47.46% 0.225 297.2)
XYZxyz(17.5547, 8.8889, 54.8126)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26C7 #7EC726
analogous
#262EC7 #6F26C7 #C026C7
triadic
#6F26C7 #C76F26 #26C76F
tetradic
#6F26C7 #C7262E #7EC726 #26C7C0
square
#6F26C7 #C7262E #7EC726 #26C7C0
split-complementary
#6F26C7 #C7C026 #2EC726
monochromatic
#361260 #521C94 #6F26C7 #8E4DDD #AF81E7

Accessibility & contrast

On white

7.56
#6F26C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6F26C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26C7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26C7#FFFFFF#000000##FFFFFF
##6F26C71.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#575578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f26c7;
/* rgb */ color: rgb(111, 38, 199);
/* oklch */ color: oklch(47.5% 0.225 297.2);
Tailwind
colors: {
  custom: {
    50: '#a16ad9',
    500: '#6f26c7',
    950: '#000000',
  },
}
SCSS
$custom: #6f26c7;
$custom-light: #a16ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26c7",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 267.205,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.22503,
    "h": 297.2
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#6F26C7
secondary
#A8CF79
accent
#EB3D9C
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6F26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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