#6A0F5B#6A0F5B

#6A0F5B is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.6% C 0.147 H 336.2°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#6A0F5B
RGBrgb(106, 15, 91)
HSLhsl(310, 75%, 24%)
HSVhsv(310, 86%, 42%)
CMYKcmyk(0%, 85.8%, 14.2%, 58.4%)
CIE-LABlab(24.20, 45.88, -21.75)
CIE-LCHlch(24.20, 50.77, 334.63°)
OKLaboklab(36.62% 0.1349 -0.0594)
OKLCHoklch(36.62% 0.147 336.2)
XYZxyz(8.0032, 4.1619, 10.2773)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F5B #0F6A1E
analogous
#4B0F6A #6A0F5B #6A0F2D
triadic
#6A0F5B #5B6A0F #0F5B6A
tetradic
#6A0F5B #6A4B0F #0F6A1E #0F2D6A
square
#6A0F5B #6A4B0F #0F6A1E #0F2D6A
split-complementary
#6A0F5B #2D6A0F #0F6A4B
monochromatic
#1B0417 #34072D #6A0F5B #A01789 #D51EB7

Accessibility & contrast

On white

11.46
#6A0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6A0F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F5B
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F5B#FFFFFF#000000##FFFFFF
##6A0F5B1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315D
Deuteranopia (green-blind)
#333E59
Tritanopia (blue-blind)
#701735
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a0f5b;
/* rgb */ color: rgb(106, 15, 91);
/* oklch */ color: oklch(36.6% 0.147 336.2);
Tailwind
colors: {
  custom: {
    50: '#985b89',
    500: '#6a0f5b',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f5b;
$custom-light: #985b89;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f5b",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 309.89,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36622,
    "c": 0.14743,
    "h": 336.2
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#6A0F5B
secondary
#32A245
accent
#F25536
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A0F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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