#6A1264#6A1264

#6A1264 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.151 H 331.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#6A1264
RGBrgb(106, 18, 100)
HSLhsl(304, 71%, 24%)
HSVhsv(304, 83%, 42%)
CMYKcmyk(0%, 83%, 5.7%, 58.4%)
CIE-LABlab(25.01, 46.50, -26.40)
CIE-LCHlch(25.01, 53.47, 330.41°)
OKLaboklab(37.37% 0.1328 -0.0728)
OKLCHoklch(37.37% 0.151 331.3)
XYZxyz(8.4604, 4.4176, 12.4612)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1264 #126A18
analogous
#44126A #6A1264 #6A1238
triadic
#6A1264 #646A12 #12646A
tetradic
#6A1264 #6A4412 #126A18 #12386A
square
#6A1264 #6A4412 #126A18 #12386A
split-complementary
#6A1264 #386A12 #126A44
monochromatic
#1A0419 #360933 #6A1264 #9E1B95 #D324C7

Accessibility & contrast

On white

11.15
#6A1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6A1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1264
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1264#FFFFFF#000000##FFFFFF
##6A12641.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073466
Deuteranopia (green-blind)
#303F62
Tritanopia (blue-blind)
#6F1E3B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a1264;
/* rgb */ color: rgb(106, 18, 100);
/* oklch */ color: oklch(37.4% 0.151 331.3);
Tailwind
colors: {
  custom: {
    50: '#985c90',
    500: '#6a1264',
    950: '#000000',
  },
}
SCSS
$custom: #6a1264;
$custom-light: #985c90;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1264",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 304.091,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37366,
    "c": 0.15146,
    "h": 331.3
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#6A1264
secondary
#36A23E
accent
#EE463A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1264

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

Preview Lab → · Contrast checker → · Palette generator →

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