#6426AF#6426AF

#6426AF is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.199 H 298.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#6426AF
RGBrgb(100, 38, 175)
HSLhsl(267, 64%, 42%)
HSVhsv(267, 78%, 69%)
CMYKcmyk(42.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(32.24, 54.14, -61.51)
CIE-LCHlch(32.24, 81.94, 311.36°)
OKLaboklab(44.05% 0.0938 -0.1761)
OKLCHoklch(44.05% 0.199 298.1)
XYZxyz(13.6845, 7.1905, 41.2160)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6426AF #71AF26
analogous
#262DAF #6426AF #A926AF
triadic
#6426AF #AF6426 #26AF64
tetradic
#6426AF #AF262D #71AF26 #26AFA9
square
#6426AF #AF262D #71AF26 #26AFA9
split-complementary
#6426AF #AFA926 #2DAF26
monochromatic
#2B104A #471B7D #6426AF #823DD5 #A270E0

Accessibility & contrast

On white

8.61
#6426AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6426AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6426AF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6426AF#FFFFFF#000000##FFFFFF
##6426AF1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#514C6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6426af;
/* rgb */ color: rgb(100, 38, 175);
/* oklch */ color: oklch(44.0% 0.199 298.1);
Tailwind
colors: {
  custom: {
    50: '#9768c8',
    500: '#6426af',
    950: '#000000',
  },
}
SCSS
$custom: #6426af;
$custom-light: #9768c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6426af",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 267.153,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44047,
    "c": 0.19949,
    "h": 298.1
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#6426AF
secondary
#9DC76A
accent
#E7409C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6426AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6426AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva