#6D1F90#6D1F90

#6D1F90 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.178 H 312.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#6D1F90
RGBrgb(109, 31, 144)
HSLhsl(281, 65%, 34%)
HSVhsv(281, 78%, 56%)
CMYKcmyk(24.3%, 78.5%, 0%, 43.5%)
CIE-LABlab(30.02, 51.27, -46.24)
CIE-LCHlch(30.02, 69.04, 317.95°)
OKLaboklab(41.98% 0.1204 -0.1308)
OKLCHoklch(41.98% 0.178 312.6)
XYZxyz(11.8298, 6.2452, 26.9624)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F90 #42901F
analogous
#351F90 #6D1F90 #901F7B
triadic
#6D1F90 #906D1F #1F906D
tetradic
#6D1F90 #90351F #42901F #1F7B90
square
#6D1F90 #90351F #42901F #1F7B90
split-complementary
#6D1F90 #7B901F #1F9035
monochromatic
#21092B #47145E #6D1F90 #932AC2 #AF50D9

Accessibility & contrast

On white

9.34
#6D1F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D1F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F90
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F90#FFFFFF#000000##FFFFFF
##6D1F901.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#0E488E
Tritanopia (blue-blind)
#693A57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1f90;
/* rgb */ color: rgb(109, 31, 144);
/* oklch */ color: oklch(42.0% 0.178 312.6);
Tailwind
colors: {
  custom: {
    50: '#9b64b1',
    500: '#6d1f90',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f90;
$custom-light: #9b64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f90",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 281.416,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41976,
    "c": 0.17777,
    "h": 312.6
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#6D1F90
secondary
#70BC4E
accent
#E84074
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1F90

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

Preview Lab → · Contrast checker → · Palette generator →

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