#6A1875#6A1875

#6A1875 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.159 H 322.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#6A1875
RGBrgb(106, 24, 117)
HSLhsl(293, 66%, 28%)
HSVhsv(293, 79%, 46%)
CMYKcmyk(9.4%, 79.5%, 0%, 54.1%)
CIE-LABlab(26.74, 47.66, -34.62)
CIE-LCHlch(26.74, 58.90, 324.01°)
OKLaboklab(38.95% 0.1267 -0.0968)
OKLCHoklch(38.95% 0.159 322.6)
XYZxyz(9.4811, 5.0024, 17.2923)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1875 #237518
analogous
#3B1875 #6A1875 #751852
triadic
#6A1875 #756A18 #18756A
tetradic
#6A1875 #753B18 #237518 #185275
square
#6A1875 #753B18 #237518 #185275
split-complementary
#6A1875 #527518 #18753B
monochromatic
#170519 #3C0E42 #6A1875 #9822A8 #C232D5

Accessibility & contrast

On white

10.50
#6A1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6A1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1875
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1875#FFFFFF#000000##FFFFFF
##6A18751.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003977
Deuteranopia (green-blind)
#274273
Tritanopia (blue-blind)
#6B2A46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1875;
/* rgb */ color: rgb(106, 24, 117);
/* oklch */ color: oklch(38.9% 0.159 322.6);
Tailwind
colors: {
  custom: {
    50: '#985f9d',
    500: '#6a1875',
    950: '#000000',
  },
}
SCSS
$custom: #6a1875;
$custom-light: #985f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1875",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 292.903,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38947,
    "c": 0.15947,
    "h": 322.6
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#6A1875
secondary
#4BAA3F
accent
#E93F53
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1875

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

Preview Lab → · Contrast checker → · Palette generator →

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