#6A1B68#6A1B68

#6A1B68 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.145 H 329.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#6A1B68
RGBrgb(106, 27, 104)
HSLhsl(302, 59%, 26%)
HSVhsv(302, 75%, 42%)
CMYKcmyk(0%, 74.5%, 1.9%, 58.4%)
CIE-LABlab(26.30, 44.17, -26.96)
CIE-LCHlch(26.30, 51.75, 328.60°)
OKLaboklab(38.37% 0.1242 -0.0745)
OKLCHoklch(38.37% 0.145 329)
XYZxyz(8.8344, 4.8482, 13.5645)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1B68 #1B6A1D
analogous
#441B6A #6A1B68 #6A1B40
triadic
#6A1B68 #686A1B #1B686A
tetradic
#6A1B68 #6A441B #1B6A1D #1B406A
square
#6A1B68 #6A441B #1B6A1D #1B406A
split-complementary
#6A1B68 #406A1B #1B6A44
monochromatic
#180618 #390F38 #6A1B68 #9B2798 #CB34C7

Accessibility & contrast

On white

10.66
#6A1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1B68
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1B68#FFFFFF#000000##FFFFFF
##6A1B681.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10376A
Deuteranopia (green-blind)
#314266
Tritanopia (blue-blind)
#6E263F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1b68;
/* rgb */ color: rgb(106, 27, 104);
/* oklch */ color: oklch(38.4% 0.145 329.0);
Tailwind
colors: {
  custom: {
    50: '#986093',
    500: '#6a1b68',
    950: '#000000',
  },
}
SCSS
$custom: #6a1b68;
$custom-light: #986093;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1b68",
  "rgb": {
    "r": 106,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 301.519,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38367,
    "c": 0.14483,
    "h": 329
  },
  "luminance": 0.04848
}

Semantic roles & 50–950 ramp

primary
#6A1B68
secondary
#429F44
accent
#E34945
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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