#6A1266#6A1266

#6A1266 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.153 H 330.2°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#6A1266
RGBrgb(106, 18, 102)
HSLhsl(303, 71%, 24%)
HSVhsv(303, 83%, 42%)
CMYKcmyk(0%, 83%, 3.8%, 58.4%)
CIE-LABlab(25.13, 46.83, -27.52)
CIE-LCHlch(25.13, 54.32, 329.56°)
OKLaboklab(37.49% 0.1328 -0.0761)
OKLCHoklch(37.49% 0.153 330.2)
XYZxyz(8.5584, 4.4568, 12.9773)
Luminance0.0446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1266 #126A16
analogous
#42126A #6A1266 #6A123A
triadic
#6A1266 #666A12 #12666A
tetradic
#6A1266 #6A4212 #126A16 #123A6A
square
#6A1266 #6A4212 #126A16 #123A6A
split-complementary
#6A1266 #3A6A12 #126A42
monochromatic
#1A0419 #360934 #6A1266 #9E1B98 #D324CB

Accessibility & contrast

On white

11.10
#6A1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6A1266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1266
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1266#FFFFFF#000000##FFFFFF
##6A12661.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043468
Deuteranopia (green-blind)
#2E4064
Tritanopia (blue-blind)
#6E1F3C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a1266;
/* rgb */ color: rgb(106, 18, 102);
/* oklch */ color: oklch(37.5% 0.153 330.2);
Tailwind
colors: {
  custom: {
    50: '#985c92',
    500: '#6a1266',
    950: '#000000',
  },
}
SCSS
$custom: #6a1266;
$custom-light: #985c92;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1266",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 302.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37491,
    "c": 0.15303,
    "h": 330.2
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#6A1266
secondary
#36A23B
accent
#EE423A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1266

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

Preview Lab → · Contrast checker → · Palette generator →

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