#6A1B74#6A1B74

#6A1B74 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.155 H 323.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#6A1B74
RGBrgb(106, 27, 116)
HSLhsl(293, 62%, 28%)
HSVhsv(293, 77%, 45%)
CMYKcmyk(8.6%, 76.7%, 0%, 54.5%)
CIE-LABlab(27.04, 46.40, -33.49)
CIE-LCHlch(27.04, 57.23, 324.18°)
OKLaboklab(39.14% 0.1239 -0.0935)
OKLCHoklch(39.14% 0.155 323)
XYZxyz(9.4879, 5.1096, 17.0061)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1B74 #25741B
analogous
#3D1B74 #6A1B74 #741B52
triadic
#6A1B74 #746A1B #1B746A
tetradic
#6A1B74 #743D1B #25741B #1B5274
square
#6A1B74 #743D1B #25741B #1B5274
split-complementary
#6A1B74 #52741B #1B743D
monochromatic
#170619 #3D0F42 #6A1B74 #9727A6 #C039D1

Accessibility & contrast

On white

10.39
#6A1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A1B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1B74
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1B74#FFFFFF#000000##FFFFFF
##6A1B741.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#6C2C46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1b74;
/* rgb */ color: rgb(106, 27, 116);
/* oklch */ color: oklch(39.1% 0.155 323.0);
Tailwind
colors: {
  custom: {
    50: '#98619c',
    500: '#6a1b74',
    950: '#000000',
  },
}
SCSS
$custom: #6a1b74;
$custom-light: #98619c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1b74",
  "rgb": {
    "r": 106,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 293.258,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39142,
    "c": 0.15527,
    "h": 323
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#6A1B74
secondary
#4EA942
accent
#E54255
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6A1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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