#6A1F91#6A1F91

#6A1F91 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.178 H 310.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6A1F91
RGBrgb(106, 31, 145)
HSLhsl(279, 65%, 35%)
HSVhsv(279, 79%, 57%)
CMYKcmyk(26.9%, 78.6%, 0%, 43.1%)
CIE-LABlab(29.64, 50.91, -47.51)
CIE-LCHlch(29.64, 69.63, 316.98°)
OKLaboklab(41.63% 0.1161 -0.1347)
OKLCHoklch(41.63% 0.178 310.8)
XYZxyz(11.5437, 6.0888, 27.3497)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1F91 #46911F
analogous
#311F91 #6A1F91 #911F7F
triadic
#6A1F91 #916A1F #1F916A
tetradic
#6A1F91 #91311F #46911F #1F7F91
square
#6A1F91 #91311F #46911F #1F7F91
split-complementary
#6A1F91 #7F911F #1F9131
monochromatic
#20092C #45145F #6A1F91 #8F2AC3 #AB51DA

Accessibility & contrast

On white

9.47
#6A1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6A1F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1F91
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1F91#FFFFFF#000000##FFFFFF
##6A1F911.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#01478F
Tritanopia (blue-blind)
#653B57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a1f91;
/* rgb */ color: rgb(106, 31, 145);
/* oklch */ color: oklch(41.6% 0.178 310.8);
Tailwind
colors: {
  custom: {
    50: '#9964b2',
    500: '#6a1f91',
    950: '#000000',
  },
}
SCSS
$custom: #6a1f91;
$custom-light: #9964b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1f91",
  "rgb": {
    "r": 106,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 279.474,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41632,
    "c": 0.17777,
    "h": 310.8
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#6A1F91
secondary
#75BD4F
accent
#E84079
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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