#6A1D63#6A1D63

#6A1D63 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.138 H 331.8°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#6A1D63
RGBrgb(106, 29, 99)
HSLhsl(305, 57%, 26%)
HSVhsv(305, 73%, 42%)
CMYKcmyk(0%, 72.6%, 6.6%, 58.4%)
CIE-LABlab(26.29, 42.51, -23.73)
CIE-LCHlch(26.29, 48.68, 330.83°)
OKLaboklab(38.27% 0.1217 -0.0652)
OKLCHoklch(38.27% 0.138 331.8)
XYZxyz(8.6354, 4.8444, 12.2822)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D63 #1D6A24
analogous
#4B1D6A #6A1D63 #6A1D3D
triadic
#6A1D63 #636A1D #1D636A
tetradic
#6A1D63 #6A4B1D #1D6A24 #1D3D6A
square
#6A1D63 #6A4B1D #1D6A24 #1D3D6A
split-complementary
#6A1D63 #3D6A1D #1D6A4B
monochromatic
#180716 #3A1036 #6A1D63 #9A2A90 #C939BC

Accessibility & contrast

On white

10.67
#6A1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A1D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D63
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D63#FFFFFF#000000##FFFFFF
##6A1D631.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183765
Deuteranopia (green-blind)
#354261
Tritanopia (blue-blind)
#6F253D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1d63;
/* rgb */ color: rgb(106, 29, 99);
/* oklch */ color: oklch(38.3% 0.138 331.8);
Tailwind
colors: {
  custom: {
    50: '#97618f',
    500: '#6a1d63',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d63;
$custom-light: #97618f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d63",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 305.455,
    "s": 57.037,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.13805,
    "h": 331.8
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#6A1D63
secondary
#449F4C
accent
#E05548
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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