#6F26AF#6F26AF

#6F26AF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.201 H 303.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6F26AF
RGBrgb(111, 38, 175)
HSLhsl(272, 64%, 42%)
HSVhsv(272, 78%, 69%)
CMYKcmyk(36.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(33.69, 55.92, -59.07)
CIE-LCHlch(33.69, 81.34, 313.43°)
OKLaboklab(45.38% 0.11 -0.1685)
OKLCHoklch(45.38% 0.201 303.1)
XYZxyz(14.9847, 7.8609, 41.2770)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26AF #66AF26
analogous
#2B26AF #6F26AF #AF26AB
triadic
#6F26AF #AF6F26 #26AF6F
tetradic
#6F26AF #AF2B26 #66AF26 #26ABAF
square
#6F26AF #AF2B26 #66AF26 #26ABAF
split-complementary
#6F26AF #ABAF26 #26AF2B
monochromatic
#2F104A #4F1B7D #6F26AF #8E3DD5 #AB70E0

Accessibility & contrast

On white

8.16
#6F26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26AF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26AF#FFFFFF#000000##FFFFFF
##6F26AF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#624A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f26af;
/* rgb */ color: rgb(111, 38, 175);
/* oklch */ color: oklch(45.4% 0.201 303.1);
Tailwind
colors: {
  custom: {
    50: '#9e69c8',
    500: '#6f26af',
    950: '#000000',
  },
}
SCSS
$custom: #6f26af;
$custom-light: #9e69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26af",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 271.971,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.20124,
    "h": 303.1
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#6F26AF
secondary
#95C76A
accent
#E7408E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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