#6F1895#6F1895

#6F1895 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.190 H 312.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6F1895
RGBrgb(111, 24, 149)
HSLhsl(282, 72%, 34%)
HSVhsv(282, 84%, 58%)
CMYKcmyk(25.5%, 83.9%, 0%, 41.6%)
CIE-LABlab(29.92, 55.02, -49.47)
CIE-LCHlch(29.92, 73.99, 318.04°)
OKLaboklab(42.09% 0.1276 -0.1402)
OKLCHoklch(42.09% 0.19 312.3)
XYZxyz(12.3060, 6.2031, 28.9770)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1895 #3E9518
analogous
#311895 #6F1895 #95187D
triadic
#6F1895 #956F18 #18956F
tetradic
#6F1895 #953118 #3E9518 #187D95
square
#6F1895 #953118 #3E9518 #187D95
split-complementary
#6F1895 #7D9518 #189531
monochromatic
#20072C #481060 #6F1895 #9620CA #B246E1

Accessibility & contrast

On white

9.37
#6F1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6F1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1895
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1895#FFFFFF#000000##FFFFFF
##6F18951.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#6A3958
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1895;
/* rgb */ color: rgb(111, 24, 149);
/* oklch */ color: oklch(42.1% 0.190 312.3);
Tailwind
colors: {
  custom: {
    50: '#9d62b5',
    500: '#6f1895',
    950: '#000000',
  },
}
SCSS
$custom: #6f1895;
$custom-light: #9d62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1895",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 281.76,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42088,
    "c": 0.1896,
    "h": 312.3
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#6F1895
secondary
#6CC246
accent
#EF3970
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1895

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

Preview Lab → · Contrast checker → · Palette generator →

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