#6A0F6A#6A0F6A

#6A0F6A is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.6% C 0.159 H 328.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#6A0F6A
RGBrgb(106, 15, 106)
HSLhsl(300, 75%, 24%)
HSVhsv(300, 86%, 42%)
CMYKcmyk(0%, 85.8%, 0%, 58.4%)
CIE-LABlab(25.10, 48.33, -30.16)
CIE-LCHlch(25.10, 56.97, 328.03°)
OKLaboklab(37.55% 0.135 -0.0837)
OKLCHoklch(37.55% 0.159 328.2)
XYZxyz(8.7161, 4.4471, 14.0322)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F6A #0F6A0F
analogous
#3C0F6A #6A0F6A #6A0F3C
triadic
#6A0F6A #6A6A0F #0F6A6A
tetradic
#6A0F6A #6A3C0F #0F6A0F #0F3C6A
square
#6A0F6A #6A3C0F #0F6A0F #0F3C6A
split-complementary
#6A0F6A #3C6A0F #0F6A3C
monochromatic
#1B041B #340734 #6A0F6A #A017A0 #D51ED5

Accessibility & contrast

On white

11.12
#6A0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6A0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F6A
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F6A#FFFFFF#000000##FFFFFF
##6A0F6A1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#2B3F68
Tritanopia (blue-blind)
#6E203E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a0f6a;
/* rgb */ color: rgb(106, 15, 106);
/* oklch */ color: oklch(37.6% 0.159 328.2);
Tailwind
colors: {
  custom: {
    50: '#985c95',
    500: '#6a0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f6a;
$custom-light: #985c95;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f6a",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 300,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.37551,
    "c": 0.15884,
    "h": 328.2
  },
  "luminance": 0.04446
}

Semantic roles & 50–950 ramp

primary
#6A0F6A
secondary
#32A232
accent
#F23636
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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