#6A1868#6A1868

#6A1868 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.148 H 329.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#6A1868
RGBrgb(106, 24, 104)
HSLhsl(301, 63%, 25%)
HSVhsv(301, 77%, 42%)
CMYKcmyk(0%, 77.4%, 1.9%, 58.4%)
CIE-LABlab(25.91, 45.26, -27.57)
CIE-LCHlch(25.91, 53.00, 328.66°)
OKLaboklab(38.09% 0.1273 -0.0762)
OKLCHoklch(38.09% 0.148 329.1)
XYZxyz(8.7691, 4.7176, 13.5427)
Luminance0.0472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1868 #186A1A
analogous
#43186A #6A1868 #6A183F
triadic
#6A1868 #686A18 #18686A
tetradic
#6A1868 #6A4318 #186A1A #183F6A
square
#6A1868 #6A4318 #186A1A #183F6A
split-complementary
#6A1868 #3F6A18 #186A43
monochromatic
#190618 #380D37 #6A1868 #9C2399 #CE2FCA

Accessibility & contrast

On white

10.81
#6A1868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6A1868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1868
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1868#FFFFFF#000000##FFFFFF
##6A18681.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B366A
Deuteranopia (green-blind)
#304166
Tritanopia (blue-blind)
#6E243F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1868;
/* rgb */ color: rgb(106, 24, 104);
/* oklch */ color: oklch(38.1% 0.148 329.1);
Tailwind
colors: {
  custom: {
    50: '#985f93',
    500: '#6a1868',
    950: '#000000',
  },
}
SCSS
$custom: #6a1868;
$custom-light: #985f93;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1868",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 301.463,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.14839,
    "h": 329.1
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#6A1868
secondary
#3EA040
accent
#E64642
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1868

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

Preview Lab → · Contrast checker → · Palette generator →

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