#6A126F#6A126F

#6A126F is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.1% C 0.160 H 325.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#6A126F
RGBrgb(106, 18, 111)
HSLhsl(297, 72%, 25%)
HSVhsv(297, 84%, 44%)
CMYKcmyk(4.5%, 83.8%, 0%, 56.5%)
CIE-LABlab(25.70, 48.41, -32.44)
CIE-LCHlch(25.70, 58.27, 326.17°)
OKLaboklab(38.08% 0.1324 -0.0904)
OKLCHoklch(38.08% 0.16 325.7)
XYZxyz(9.0292, 4.6451, 15.4569)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A126F #176F12
analogous
#3B126F #6A126F #6F1245
triadic
#6A126F #6F6A12 #126F6A
tetradic
#6A126F #6F3B12 #176F12 #12456F
square
#6A126F #6F3B12 #176F12 #12456F
split-complementary
#6A126F #456F12 #126F3B
monochromatic
#19041A #38093A #6A126F #9C1BA4 #CF23D8

Accessibility & contrast

On white

10.89
#6A126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6A126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A126F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A126F#FFFFFF#000000##FFFFFF
##6A126F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#29406D
Tritanopia (blue-blind)
#6D2441
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a126f;
/* rgb */ color: rgb(106, 18, 111);
/* oklch */ color: oklch(38.1% 0.160 325.7);
Tailwind
colors: {
  custom: {
    50: '#985d99',
    500: '#6a126f',
    950: '#000000',
  },
}
SCSS
$custom: #6a126f;
$custom-light: #985d99;
$custom-dark: #000000;
JSON
{
  "hex": "#6a126f",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 296.774,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.16027,
    "h": 325.7
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#6A126F
secondary
#3DA637
accent
#EF3943
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A126F

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

Preview Lab → · Contrast checker → · Palette generator →

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