#6A1EA8#6A1EA8

#6A1EA8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.201 H 303.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6A1EA8
RGBrgb(106, 30, 168)
HSLhsl(273, 70%, 39%)
HSVhsv(273, 82%, 66%)
CMYKcmyk(36.9%, 82.1%, 0%, 34.1%)
CIE-LABlab(31.39, 56.43, -58.66)
CIE-LCHlch(31.39, 81.39, 313.89°)
OKLaboklab(43.45% 0.1109 -0.1674)
OKLCHoklch(43.45% 0.201 303.5)
XYZxyz(13.4743, 6.8199, 37.6447)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1EA8 #5CA81E
analogous
#251EA8 #6A1EA8 #A81EA1
triadic
#6A1EA8 #A86A1E #1EA86A
tetradic
#6A1EA8 #A8251E #5CA81E #1EA1A8
square
#6A1EA8 #A8251E #5CA81E #1EA1A8
split-complementary
#6A1EA8 #A1A81E #1EA825
monochromatic
#280B40 #491574 #6A1EA8 #8A2AD9 #A75EE2

Accessibility & contrast

On white

8.88
#6A1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6A1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1EA8
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1EA8#FFFFFF#000000##FFFFFF
##6A1EA81.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#5D4464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a1ea8;
/* rgb */ color: rgb(106, 30, 168);
/* oklch */ color: oklch(43.4% 0.201 303.5);
Tailwind
colors: {
  custom: {
    50: '#9b65c3',
    500: '#6a1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #6a1ea8;
$custom-light: #9b65c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1ea8",
  "rgb": {
    "r": 106,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 273.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43446,
    "c": 0.20082,
    "h": 303.5
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#6A1EA8
secondary
#8BC75B
accent
#ED3B8B
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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