#6F26A2#6F26A2

#6F26A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.188 H 306.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6F26A2
RGBrgb(111, 38, 162)
HSLhsl(275, 62%, 39%)
HSVhsv(275, 77%, 64%)
CMYKcmyk(31.5%, 76.5%, 0%, 36.5%)
CIE-LABlab(32.64, 52.92, -52.97)
CIE-LCHlch(32.64, 74.88, 314.97°)
OKLaboklab(44.32% 0.1131 -0.1506)
OKLCHoklch(44.32% 0.188 306.9)
XYZxyz(13.7688, 7.3745, 34.8735)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F26A2 #59A226
analogous
#3126A2 #6F26A2 #A22697
triadic
#6F26A2 #A26F26 #26A26F
tetradic
#6F26A2 #A23126 #59A226 #2697A2
square
#6F26A2 #A23126 #59A226 #2697A2
split-complementary
#6F26A2 #97A226 #26A231
monochromatic
#2B0F3F #4D1A70 #6F26A2 #9035D0 #AC67DB

Accessibility & contrast

On white

8.49
#6F26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F26A2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F26A2#FFFFFF#000000##FFFFFF
##6F26A21.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#664563
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f26a2;
/* rgb */ color: rgb(111, 38, 162);
/* oklch */ color: oklch(44.3% 0.188 306.9);
Tailwind
colors: {
  custom: {
    50: '#9d68be',
    500: '#6f26a2',
    950: '#000000',
  },
}
SCSS
$custom: #6f26a2;
$custom-light: #9d68be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f26a2",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 275.323,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44318,
    "c": 0.18832,
    "h": 306.9
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#6F26A2
secondary
#89C163
accent
#E54385
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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