#6A1F83#6A1F83

#6A1F83 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.164 H 316.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#6A1F83
RGBrgb(106, 31, 131)
HSLhsl(285, 62%, 32%)
HSVhsv(285, 76%, 51%)
CMYKcmyk(19.1%, 76.3%, 0%, 48.6%)
CIE-LABlab(28.60, 47.90, -40.48)
CIE-LCHlch(28.60, 62.72, 319.80°)
OKLaboklab(40.57% 0.1184 -0.114)
OKLCHoklch(40.57% 0.164 316.1)
XYZxyz(10.5299, 5.6833, 22.0106)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1F83 #38831F
analogous
#381F83 #6A1F83 #831F6A
triadic
#6A1F83 #836A1F #1F836A
tetradic
#6A1F83 #83381F #38831F #1F6A83
square
#6A1F83 #83381F #38831F #1F6A83
split-complementary
#6A1F83 #6A831F #1F8338
monochromatic
#1A0820 #421352 #6A1F83 #922BB4 #B149D4

Accessibility & contrast

On white

9.83
#6A1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6A1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1F83
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1F83#FFFFFF#000000##FFFFFF
##6A1F831.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#1E4581
Tritanopia (blue-blind)
#68344F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a1f83;
/* rgb */ color: rgb(106, 31, 131);
/* oklch */ color: oklch(40.6% 0.164 316.1);
Tailwind
colors: {
  custom: {
    50: '#9863a8',
    500: '#6a1f83',
    950: '#000000',
  },
}
SCSS
$custom: #6a1f83;
$custom-light: #9863a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1f83",
  "rgb": {
    "r": 106,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 285,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.16441,
    "h": 316.1
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#6A1F83
secondary
#63B648
accent
#E5436B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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