#6A1F89#6A1F89

#6A1F89 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.170 H 313.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6A1F89
RGBrgb(106, 31, 137)
HSLhsl(282, 63%, 33%)
HSVhsv(282, 77%, 54%)
CMYKcmyk(22.6%, 77.4%, 0%, 46.3%)
CIE-LABlab(29.03, 49.18, -43.53)
CIE-LCHlch(29.03, 65.67, 318.48°)
OKLaboklab(41.02% 0.1176 -0.123)
OKLCHoklch(41.02% 0.17 313.7)
XYZxyz(10.9484, 5.8506, 24.2146)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1F89 #3E891F
analogous
#351F89 #6A1F89 #891F73
triadic
#6A1F89 #896A1F #1F896A
tetradic
#6A1F89 #89351F #3E891F #1F7389
square
#6A1F89 #89351F #3E891F #1F7389
split-complementary
#6A1F89 #73891F #1F8935
monochromatic
#1D0825 #431457 #6A1F89 #912ABB #AE4CD6

Accessibility & contrast

On white

9.68
#6A1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6A1F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1F89
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1F89#FFFFFF#000000##FFFFFF
##6A1F891.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#154687
Tritanopia (blue-blind)
#673753
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a1f89;
/* rgb */ color: rgb(106, 31, 137);
/* oklch */ color: oklch(41.0% 0.170 313.7);
Tailwind
colors: {
  custom: {
    50: '#9863ac',
    500: '#6a1f89',
    950: '#000000',
  },
}
SCSS
$custom: #6a1f89;
$custom-light: #9863ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1f89",
  "rgb": {
    "r": 106,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 282.453,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41017,
    "c": 0.17012,
    "h": 313.7
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#6A1F89
secondary
#6BB94B
accent
#E64272
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1F89

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

Preview Lab → · Contrast checker → · Palette generator →

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