#6A1262#6A1262

#6A1262 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.150 H 332.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#6A1262
RGBrgb(106, 18, 98)
HSLhsl(305, 71%, 24%)
HSVhsv(305, 83%, 42%)
CMYKcmyk(0%, 83%, 7.5%, 58.4%)
CIE-LABlab(24.89, 46.16, -25.28)
CIE-LCHlch(24.89, 52.63, 331.29°)
OKLaboklab(37.24% 0.1328 -0.0696)
OKLCHoklch(37.24% 0.15 332.3)
XYZxyz(8.3648, 4.3793, 11.9577)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1262 #126A1A
analogous
#46126A #6A1262 #6A1236
triadic
#6A1262 #626A12 #12626A
tetradic
#6A1262 #6A4612 #126A1A #12366A
square
#6A1262 #6A4612 #126A1A #12366A
split-complementary
#6A1262 #366A12 #126A46
monochromatic
#1A0418 #360932 #6A1262 #9E1B92 #D324C3

Accessibility & contrast

On white

11.20
#6A1262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#6A1262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1262
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1262#FFFFFF#000000##FFFFFF
##6A12621.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3364
Deuteranopia (green-blind)
#313F60
Tritanopia (blue-blind)
#6F1D3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a1262;
/* rgb */ color: rgb(106, 18, 98);
/* oklch */ color: oklch(37.2% 0.150 332.3);
Tailwind
colors: {
  custom: {
    50: '#985c8f',
    500: '#6a1262',
    950: '#000000',
  },
}
SCSS
$custom: #6a1262;
$custom-light: #985c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1262",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 305.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37243,
    "c": 0.1499,
    "h": 332.3
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#6A1262
secondary
#36A240
accent
#EE4A3A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1262

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

Preview Lab → · Contrast checker → · Palette generator →

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