#6A1268#6A1268

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

Color values

HEX#6A1268
RGBrgb(106, 18, 104)
HSLhsl(301, 71%, 24%)
HSVhsv(301, 83%, 42%)
CMYKcmyk(0%, 83%, 1.9%, 58.4%)
CIE-LABlab(25.25, 47.18, -28.62)
CIE-LCHlch(25.25, 55.18, 328.75°)
OKLaboklab(37.62% 0.1328 -0.0793)
OKLCHoklch(37.62% 0.155 329.2)
XYZxyz(8.6588, 4.4969, 13.5060)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1268 #126A14
analogous
#40126A #6A1268 #6A123C
triadic
#6A1268 #686A12 #12686A
tetradic
#6A1268 #6A4012 #126A14 #123C6A
square
#6A1268 #6A4012 #126A14 #123C6A
split-complementary
#6A1268 #3C6A12 #126A40
monochromatic
#1A041A #360935 #6A1268 #9E1B9B #D324CF

Accessibility & contrast

On white

11.06
#6A1268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1268
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1268#FFFFFF#000000##FFFFFF
##6A12681.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356A
Deuteranopia (green-blind)
#2D4066
Tritanopia (blue-blind)
#6E203D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a1268;
/* rgb */ color: rgb(106, 18, 104);
/* oklch */ color: oklch(37.6% 0.155 329.2);
Tailwind
colors: {
  custom: {
    50: '#985d93',
    500: '#6a1268',
    950: '#000000',
  },
}
SCSS
$custom: #6a1268;
$custom-light: #985d93;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1268",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 301.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.15462,
    "h": 329.2
  },
  "luminance": 0.04496
}

Semantic roles & 50–950 ramp

primary
#6A1268
secondary
#36A239
accent
#EE3E3A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1268

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

Preview Lab → · Contrast checker → · Palette generator →

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