#6A1263#6A1263

#6A1263 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.3% C 0.151 H 331.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#6A1263
RGBrgb(106, 18, 99)
HSLhsl(305, 71%, 24%)
HSVhsv(305, 83%, 42%)
CMYKcmyk(0%, 83%, 6.6%, 58.4%)
CIE-LABlab(24.95, 46.33, -25.84)
CIE-LCHlch(24.95, 53.05, 330.85°)
OKLaboklab(37.3% 0.1328 -0.0712)
OKLCHoklch(37.3% 0.151 331.8)
XYZxyz(8.4123, 4.3983, 12.2079)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1263 #126A19
analogous
#45126A #6A1263 #6A1237
triadic
#6A1263 #636A12 #12636A
tetradic
#6A1263 #6A4512 #126A19 #12376A
square
#6A1263 #6A4512 #126A19 #12376A
split-complementary
#6A1263 #376A12 #126A45
monochromatic
#1A0418 #360932 #6A1263 #9E1B94 #D324C5

Accessibility & contrast

On white

11.17
#6A1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1263
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1263#FFFFFF#000000##FFFFFF
##6A12631.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093365
Deuteranopia (green-blind)
#303F61
Tritanopia (blue-blind)
#6F1E3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a1263;
/* rgb */ color: rgb(106, 18, 99);
/* oklch */ color: oklch(37.3% 0.151 331.8);
Tailwind
colors: {
  custom: {
    50: '#985c90',
    500: '#6a1263',
    950: '#000000',
  },
}
SCSS
$custom: #6a1263;
$custom-light: #985c90;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1263",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 304.773,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.15068,
    "h": 331.8
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#6A1263
secondary
#36A23F
accent
#EE483A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1263

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

Preview Lab → · Contrast checker → · Palette generator →

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