#6A1267#6A1267

#6A1267 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.154 H 329.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#6A1267
RGBrgb(106, 18, 103)
HSLhsl(302, 71%, 24%)
HSVhsv(302, 83%, 42%)
CMYKcmyk(0%, 83%, 2.8%, 58.4%)
CIE-LABlab(25.19, 47.00, -28.07)
CIE-LCHlch(25.19, 54.75, 329.16°)
OKLaboklab(37.56% 0.1328 -0.0777)
OKLCHoklch(37.56% 0.154 329.7)
XYZxyz(8.6083, 4.4767, 13.2400)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1267 #126A15
analogous
#41126A #6A1267 #6A123B
triadic
#6A1267 #676A12 #12676A
tetradic
#6A1267 #6A4112 #126A15 #123B6A
square
#6A1267 #6A4112 #126A15 #123B6A
split-complementary
#6A1267 #3B6A12 #126A41
monochromatic
#1A0419 #360934 #6A1267 #9E1B9A #D324CD

Accessibility & contrast

On white

11.08
#6A1267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6A1267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1267
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1267#FFFFFF#000000##FFFFFF
##6A12671.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023469
Deuteranopia (green-blind)
#2E4065
Tritanopia (blue-blind)
#6E203D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a1267;
/* rgb */ color: rgb(106, 18, 103);
/* oklch */ color: oklch(37.6% 0.154 329.7);
Tailwind
colors: {
  custom: {
    50: '#985d93',
    500: '#6a1267',
    950: '#000000',
  },
}
SCSS
$custom: #6a1267;
$custom-light: #985d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1267",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 302.045,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.15381,
    "h": 329.7
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#6A1267
secondary
#36A23A
accent
#EE403A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1267

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

Preview Lab → · Contrast checker → · Palette generator →

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