#6E1264#6E1264

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

Color values

HEX#6E1264
RGBrgb(110, 18, 100)
HSLhsl(307, 72%, 25%)
HSVhsv(307, 84%, 43%)
CMYKcmyk(0%, 83.6%, 9.1%, 56.9%)
CIE-LABlab(25.77, 47.41, -25.15)
CIE-LCHlch(25.77, 53.67, 332.06°)
OKLaboklab(38.05% 0.1372 -0.0691)
OKLCHoklch(38.05% 0.154 333.3)
XYZxyz(8.9470, 4.6685, 12.4840)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1264 #126E1C
analogous
#4A126E #6E1264 #6E1236
triadic
#6E1264 #646E12 #12646E
tetradic
#6E1264 #6E4A12 #126E1C #12366E
square
#6E1264 #6E4A12 #126E1C #12366E
split-complementary
#6E1264 #366E12 #126E4A
monochromatic
#1A0418 #390934 #6E1264 #A31B94 #D723C4

Accessibility & contrast

On white

10.86
#6E1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6E1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1264
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1264#FFFFFF#000000##FFFFFF
##6E12641.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3566
Deuteranopia (green-blind)
#334262
Tritanopia (blue-blind)
#731D3B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6e1264;
/* rgb */ color: rgb(110, 18, 100);
/* oklch */ color: oklch(38.1% 0.154 333.3);
Tailwind
colors: {
  custom: {
    50: '#9b5d90',
    500: '#6e1264',
    950: '#000000',
  },
}
SCSS
$custom: #6e1264;
$custom-light: #9b5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1264",
  "rgb": {
    "r": 110,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 306.522,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.38053,
    "c": 0.15357,
    "h": 333.3
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#6E1264
secondary
#37A543
accent
#EF4D39
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6E1264

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

Preview Lab → · Contrast checker → · Palette generator →

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