#6A0F5E#6A0F5E

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

Color values

HEX#6A0F5E
RGBrgb(106, 15, 94)
HSLhsl(308, 75%, 24%)
HSVhsv(308, 86%, 42%)
CMYKcmyk(0%, 85.8%, 11.3%, 58.4%)
CIE-LABlab(24.37, 46.35, -23.47)
CIE-LCHlch(24.37, 51.95, 333.14°)
OKLaboklab(36.8% 0.1351 -0.0643)
OKLCHoklch(36.8% 0.15 334.5)
XYZxyz(8.1352, 4.2147, 10.9726)
Luminance0.0421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F5E #0F6A1B
analogous
#480F6A #6A0F5E #6A0F30
triadic
#6A0F5E #5E6A0F #0F5E6A
tetradic
#6A0F5E #6A480F #0F6A1B #0F306A
square
#6A0F5E #6A480F #0F6A1B #0F306A
split-complementary
#6A0F5E #306A0F #0F6A48
monochromatic
#1B0418 #34072E #6A0F5E #A0178E #D51EBD

Accessibility & contrast

On white

11.40
#6A0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A0F5E
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F5E#FFFFFF#000000##FFFFFF
##6A0F5E1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3260
Deuteranopia (green-blind)
#323E5C
Tritanopia (blue-blind)
#701937
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a0f5e;
/* rgb */ color: rgb(106, 15, 94);
/* oklch */ color: oklch(36.8% 0.150 334.5);
Tailwind
colors: {
  custom: {
    50: '#985b8c',
    500: '#6a0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f5e;
$custom-light: #985b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f5e",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 307.912,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36797,
    "c": 0.14963,
    "h": 334.5
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#6A0F5E
secondary
#32A241
accent
#F24F36
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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