#6A1FA0#6A1FA0

#6A1FA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.192 H 305.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#6A1FA0
RGBrgb(106, 31, 160)
HSLhsl(275, 68%, 37%)
HSVhsv(275, 81%, 63%)
CMYKcmyk(33.7%, 80.6%, 0%, 37.3%)
CIE-LABlab(30.84, 54.26, -54.73)
CIE-LCHlch(30.84, 77.07, 314.75°)
OKLaboklab(42.85% 0.1125 -0.1559)
OKLCHoklch(42.85% 0.192 305.8)
XYZxyz(12.7776, 6.5823, 33.8483)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1FA0 #55A01F
analogous
#2A1FA0 #6A1FA0 #A01F95
triadic
#6A1FA0 #A06A1F #1FA06A
tetradic
#6A1FA0 #A02A1F #55A01F #1F95A0
square
#6A1FA0 #A02A1F #55A01F #1F95A0
split-complementary
#6A1FA0 #95A01F #1FA02A
monochromatic
#260B39 #48156D #6A1FA0 #8C29D3 #A85ADF

Accessibility & contrast

On white

9.07
#6A1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6A1FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1FA0
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1FA0#FFFFFF#000000##FFFFFF
##6A1FA01.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#604160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a1fa0;
/* rgb */ color: rgb(106, 31, 160);
/* oklch */ color: oklch(42.8% 0.192 305.8);
Tailwind
colors: {
  custom: {
    50: '#9a65bd',
    500: '#6a1fa0',
    950: '#000000',
  },
}
SCSS
$custom: #6a1fa0;
$custom-light: #9a65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1fa0",
  "rgb": {
    "r": 106,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 274.884,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42849,
    "c": 0.19222,
    "h": 305.8
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#6A1FA0
secondary
#85C358
accent
#EA3D86
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A1FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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