#6A1260#6A1260

#6A1260 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.148 H 333.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#6A1260
RGBrgb(106, 18, 96)
HSLhsl(307, 71%, 24%)
HSVhsv(307, 83%, 42%)
CMYKcmyk(0%, 83%, 9.4%, 58.4%)
CIE-LABlab(24.77, 45.84, -24.15)
CIE-LCHlch(24.77, 51.81, 332.22°)
OKLaboklab(37.12% 0.1327 -0.0663)
OKLCHoklch(37.12% 0.148 333.4)
XYZxyz(8.2716, 4.3420, 11.4665)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1260 #126A1C
analogous
#48126A #6A1260 #6A1234
triadic
#6A1260 #606A12 #12606A
tetradic
#6A1260 #6A4812 #126A1C #12346A
square
#6A1260 #6A4812 #126A1C #12346A
split-complementary
#6A1260 #346A12 #126A48
monochromatic
#1A0418 #360931 #6A1260 #9E1B8F #D324BF

Accessibility & contrast

On white

11.24
#6A1260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6A1260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1260
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1260#FFFFFF#000000##FFFFFF
##6A12601.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3362
Deuteranopia (green-blind)
#323F5E
Tritanopia (blue-blind)
#6F1C39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a1260;
/* rgb */ color: rgb(106, 18, 96);
/* oklch */ color: oklch(37.1% 0.148 333.4);
Tailwind
colors: {
  custom: {
    50: '#985c8d',
    500: '#6a1260',
    950: '#000000',
  },
}
SCSS
$custom: #6a1260;
$custom-light: #985c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1260",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 306.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37122,
    "c": 0.14837,
    "h": 333.4
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#6A1260
secondary
#36A242
accent
#EE4E3A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1260

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

Preview Lab → · Contrast checker → · Palette generator →

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