#6F1864#6F1864

#6F1864 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.7% C 0.148 H 333.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#6F1864
RGBrgb(111, 24, 100)
HSLhsl(308, 64%, 26%)
HSVhsv(308, 78%, 44%)
CMYKcmyk(0%, 78.4%, 9.9%, 56.5%)
CIE-LABlab(26.60, 45.80, -23.82)
CIE-LCHlch(26.60, 51.62, 332.52°)
OKLaboklab(38.69% 0.1328 -0.0653)
OKLCHoklch(38.69% 0.148 333.8)
XYZxyz(9.1825, 4.9537, 12.5267)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1864 #186F23
analogous
#4F186F #6F1864 #6F1839
triadic
#6F1864 #646F18 #18646F
tetradic
#6F1864 #6F4F18 #186F23 #18396F
square
#6F1864 #6F4F18 #186F23 #18396F
split-complementary
#6F1864 #396F18 #186F4F
monochromatic
#190517 #3D0D37 #6F1864 #A12391 #D22FBE

Accessibility & contrast

On white

10.55
#6F1864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6F1864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1864
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1864#FFFFFF#000000##FFFFFF
##6F18641.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153766
Deuteranopia (green-blind)
#364362
Tritanopia (blue-blind)
#74213C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f1864;
/* rgb */ color: rgb(111, 24, 100);
/* oklch */ color: oklch(38.7% 0.148 333.8);
Tailwind
colors: {
  custom: {
    50: '#9b5f90',
    500: '#6f1864',
    950: '#000000',
  },
}
SCSS
$custom: #6f1864;
$custom-light: #9b5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1864",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 307.586,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38686,
    "c": 0.14797,
    "h": 333.8
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#6F1864
secondary
#3EA54B
accent
#E75540
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0F050C
muted
#7E797D

Preview Lab

Preview with #6F1864

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

Preview Lab → · Contrast checker → · Palette generator →

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