#6A0F5F#6A0F5F

#6A0F5F is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.9% C 0.150 H 334.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#6A0F5F
RGBrgb(106, 15, 95)
HSLhsl(307, 75%, 24%)
HSVhsv(307, 86%, 42%)
CMYKcmyk(0%, 85.8%, 10.4%, 58.4%)
CIE-LABlab(24.43, 46.50, -24.04)
CIE-LCHlch(24.43, 52.35, 332.67°)
OKLaboklab(36.86% 0.1351 -0.066)
OKLCHoklch(36.86% 0.15 334)
XYZxyz(8.1803, 4.2328, 11.2104)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F5F #0F6A1A
analogous
#470F6A #6A0F5F #6A0F31
triadic
#6A0F5F #5F6A0F #0F5F6A
tetradic
#6A0F5F #6A470F #0F6A1A #0F316A
square
#6A0F5F #6A470F #0F6A1A #0F316A
split-complementary
#6A0F5F #316A0F #0F6A47
monochromatic
#1B0418 #34072F #6A0F5F #A0178F #D51EBF

Accessibility & contrast

On white

11.37
#6A0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#6A0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F5F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F5F#FFFFFF#000000##FFFFFF
##6A0F5F1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#313F5D
Tritanopia (blue-blind)
#6F1A37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a0f5f;
/* rgb */ color: rgb(106, 15, 95);
/* oklch */ color: oklch(36.9% 0.150 334.0);
Tailwind
colors: {
  custom: {
    50: '#985b8d',
    500: '#6a0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f5f;
$custom-light: #985b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f5f",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 307.253,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36857,
    "c": 0.15036,
    "h": 334
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#6A0F5F
secondary
#32A240
accent
#F24D36
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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