#6A0F76#6A0F76

#6A0F76 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.169 H 322.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#6A0F76
RGBrgb(106, 15, 118)
HSLhsl(293, 77%, 26%)
HSVhsv(293, 87%, 46%)
CMYKcmyk(10.2%, 87.3%, 0%, 53.7%)
CIE-LABlab(25.91, 50.47, -36.60)
CIE-LCHlch(25.91, 62.34, 324.05°)
OKLaboklab(38.38% 0.1337 -0.1025)
OKLCHoklch(38.38% 0.169 322.5)
XYZxyz(9.3844, 4.7144, 17.5517)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F76 #1B760F
analogous
#360F76 #6A0F76 #760F4E
triadic
#6A0F76 #766A0F #0F766A
tetradic
#6A0F76 #76360F #1B760F #0F4E76
square
#6A0F76 #76360F #1B760F #0F4E76
split-complementary
#6A0F76 #4E760F #0F7636
monochromatic
#18031B #390840 #6A0F76 #9B16AC #CB1DE2

Accessibility & contrast

On white

10.81
#6A0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6A0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F76
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F76#FFFFFF#000000##FFFFFF
##6A0F761.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#224174
Tritanopia (blue-blind)
#6B2745
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a0f76;
/* rgb */ color: rgb(106, 15, 118);
/* oklch */ color: oklch(38.4% 0.169 322.5);
Tailwind
colors: {
  custom: {
    50: '#985c9e',
    500: '#6a0f76',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f76;
$custom-light: #985c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f76",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 293.01,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.1685,
    "h": 322.5
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#6A0F76
secondary
#42AD33
accent
#F4344A
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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