#6B26A8#6B26A8

#6B26A8 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.193 H 303.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6B26A8
RGBrgb(107, 38, 168)
HSLhsl(272, 63%, 40%)
HSVhsv(272, 77%, 66%)
CMYKcmyk(36.3%, 77.4%, 0%, 34.1%)
CIE-LABlab(32.57, 53.60, -56.74)
CIE-LCHlch(32.57, 78.05, 313.37°)
OKLaboklab(44.3% 0.106 -0.1618)
OKLCHoklch(44.3% 0.193 303.2)
XYZxyz(13.8227, 7.3392, 37.7266)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B26A8 #63A826
analogous
#2A26A8 #6B26A8 #A826A4
triadic
#6B26A8 #A86B26 #26A86B
tetradic
#6B26A8 #A82A26 #63A826 #26A4A8
square
#6B26A8 #A82A26 #63A826 #26A4A8
split-complementary
#6B26A8 #A4A826 #26A82A
monochromatic
#2B0F44 #4B1B76 #6B26A8 #8A39D2 #A86BDE

Accessibility & contrast

On white

8.51
#6B26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B26A8
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B26A8#FFFFFF#000000##FFFFFF
##6B26A81.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#5E4866
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b26a8;
/* rgb */ color: rgb(107, 38, 168);
/* oklch */ color: oklch(44.3% 0.193 303.2);
Tailwind
colors: {
  custom: {
    50: '#9b68c3',
    500: '#6b26a8',
    950: '#000000',
  },
}
SCSS
$custom: #6b26a8;
$custom-light: #9b68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b26a8",
  "rgb": {
    "r": 107,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 271.846,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44295,
    "c": 0.19342,
    "h": 303.2
  },
  "luminance": 0.07339
}

Semantic roles & 50–950 ramp

primary
#6B26A8
secondary
#92C466
accent
#E6428F
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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