#6A0F5C#6A0F5C

#6A0F5C is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.148 H 335.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#6A0F5C
RGBrgb(106, 15, 92)
HSLhsl(309, 75%, 24%)
HSVhsv(309, 86%, 42%)
CMYKcmyk(0%, 85.8%, 13.2%, 58.4%)
CIE-LABlab(24.26, 46.03, -22.33)
CIE-LCHlch(24.26, 51.16, 334.13°)
OKLaboklab(36.68% 0.135 -0.061)
OKLCHoklch(36.68% 0.148 335.7)
XYZxyz(8.0466, 4.1793, 10.5060)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F5C #0F6A1D
analogous
#4A0F6A #6A0F5C #6A0F2E
triadic
#6A0F5C #5C6A0F #0F5C6A
tetradic
#6A0F5C #6A4A0F #0F6A1D #0F2E6A
square
#6A0F5C #6A4A0F #0F6A1D #0F2E6A
split-complementary
#6A0F5C #2E6A0F #0F6A4A
monochromatic
#1B0417 #34072D #6A0F5C #A0178B #D51EB9

Accessibility & contrast

On white

11.44
#6A0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#6A0F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F5C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F5C#FFFFFF#000000##FFFFFF
##6A0F5C1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10315E
Deuteranopia (green-blind)
#333E5A
Tritanopia (blue-blind)
#701836
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a0f5c;
/* rgb */ color: rgb(106, 15, 92);
/* oklch */ color: oklch(36.7% 0.148 335.7);
Tailwind
colors: {
  custom: {
    50: '#985b8a',
    500: '#6a0f5c',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f5c;
$custom-light: #985b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f5c",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 309.231,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.14815,
    "h": 335.7
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#6A0F5C
secondary
#32A244
accent
#F25336
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A0F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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