#6A1290#6A1290

#6A1290 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.6% C 0.188 H 312.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6A1290
RGBrgb(106, 18, 144)
HSLhsl(282, 78%, 32%)
HSVhsv(282, 88%, 56%)
CMYKcmyk(26.4%, 87.5%, 0%, 43.5%)
CIE-LABlab(28.14, 54.81, -49.32)
CIE-LCHlch(28.14, 73.73, 318.02°)
OKLaboklab(40.57% 0.1261 -0.1399)
OKLCHoklch(40.57% 0.188 312)
XYZxyz(11.1933, 5.5107, 26.8542)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1290 #389012
analogous
#2B1290 #6A1290 #901277
triadic
#6A1290 #906A12 #12906A
tetradic
#6A1290 #902B12 #389012 #127790
square
#6A1290 #902B12 #389012 #127790
split-complementary
#6A1290 #779012 #12902B
monochromatic
#1A0423 #420B5A #6A1290 #9219C6 #B136E6

Accessibility & contrast

On white

9.99
#6A1290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6A1290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1290
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1290#FFFFFF#000000##FFFFFF
##6A12901.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#653554
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1290;
/* rgb */ color: rgb(106, 18, 144);
/* oklch */ color: oklch(40.6% 0.188 312.0);
Tailwind
colors: {
  custom: {
    50: '#9a5fb1',
    500: '#6a1290',
    950: '#000000',
  },
}
SCSS
$custom: #6a1290;
$custom-light: #9a5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1290",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 144
  },
  "hsl": {
    "h": 281.905,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40565,
    "c": 0.18833,
    "h": 312
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#6A1290
secondary
#63C43A
accent
#F4346E
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0F0511
muted
#7E7980

Preview Lab

Preview with #6A1290

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

Preview Lab → · Contrast checker → · Palette generator →

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