#6A1B60#6A1B60

#6A1B60 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 37.9% C 0.138 H 333.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#6A1B60
RGBrgb(106, 27, 96)
HSLhsl(308, 59%, 26%)
HSVhsv(308, 75%, 42%)
CMYKcmyk(0%, 74.5%, 9.4%, 58.4%)
CIE-LABlab(25.84, 42.78, -22.47)
CIE-LCHlch(25.84, 48.32, 332.29°)
OKLaboklab(37.89% 0.1237 -0.0615)
OKLCHoklch(37.89% 0.138 333.6)
XYZxyz(8.4472, 4.6933, 11.5251)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1B60 #1B6A25
analogous
#4C1B6A #6A1B60 #6A1B38
triadic
#6A1B60 #606A1B #1B606A
tetradic
#6A1B60 #6A4C1B #1B6A25 #1B386A
square
#6A1B60 #6A4C1B #1B6A25 #1B386A
split-complementary
#6A1B60 #386A1B #1B6A4C
monochromatic
#180616 #390F34 #6A1B60 #9B278C #CB34B8

Accessibility & contrast

On white

10.83
#6A1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6A1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1B60
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1B60#FFFFFF#000000##FFFFFF
##6A1B601.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193662
Deuteranopia (green-blind)
#35415E
Tritanopia (blue-blind)
#6F223B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1b60;
/* rgb */ color: rgb(106, 27, 96);
/* oklch */ color: oklch(37.9% 0.138 333.6);
Tailwind
colors: {
  custom: {
    50: '#97608d',
    500: '#6a1b60',
    950: '#000000',
  },
}
SCSS
$custom: #6a1b60;
$custom-light: #97608d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1b60",
  "rgb": {
    "r": 106,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 307.595,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.13819,
    "h": 333.6
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#6A1B60
secondary
#429F4D
accent
#E35945
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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