#6A0F62#6A0F62

#6A0F62 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.153 H 332.3°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#6A0F62
RGBrgb(106, 15, 98)
HSLhsl(305, 75%, 24%)
HSVhsv(305, 86%, 42%)
CMYKcmyk(0%, 85.8%, 7.5%, 58.4%)
CIE-LABlab(24.60, 46.99, -25.73)
CIE-LCHlch(24.60, 53.57, 331.29°)
OKLaboklab(37.04% 0.1352 -0.0709)
OKLCHoklch(37.04% 0.153 332.3)
XYZxyz(8.3193, 4.2884, 11.9425)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F62 #0F6A17
analogous
#440F6A #6A0F62 #6A0F34
triadic
#6A0F62 #626A0F #0F626A
tetradic
#6A0F62 #6A440F #0F6A17 #0F346A
square
#6A0F62 #6A440F #0F6A17 #0F346A
split-complementary
#6A0F62 #346A0F #0F6A44
monochromatic
#1B0419 #340730 #6A0F62 #A01794 #D51EC5

Accessibility & contrast

On white

11.30
#6A0F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6A0F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F62
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F62#FFFFFF#000000##FFFFFF
##6A0F621.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063264
Deuteranopia (green-blind)
#303F60
Tritanopia (blue-blind)
#6F1B39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a0f62;
/* rgb */ color: rgb(106, 15, 98);
/* oklch */ color: oklch(37.0% 0.153 332.3);
Tailwind
colors: {
  custom: {
    50: '#985b8f',
    500: '#6a0f62',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f62;
$custom-light: #985b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f62",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 98
  },
  "hsl": {
    "h": 305.275,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3704,
    "c": 0.15263,
    "h": 332.3
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#6A0F62
secondary
#32A23C
accent
#F24736
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A0F62

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

Preview Lab → · Contrast checker → · Palette generator →

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