#6D1262#6D1262

#6D1262 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.152 H 333.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#6D1262
RGBrgb(109, 18, 98)
HSLhsl(307, 72%, 25%)
HSVhsv(307, 83%, 43%)
CMYKcmyk(0%, 83.5%, 10.1%, 57.3%)
CIE-LABlab(25.46, 46.86, -24.34)
CIE-LCHlch(25.46, 52.80, 332.56°)
OKLaboklab(37.76% 0.136 -0.0668)
OKLCHoklch(37.76% 0.152 333.8)
XYZxyz(8.7277, 4.5664, 11.9747)
Luminance0.0457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1262 #126D1D
analogous
#4B126D #6D1262 #6D1234
triadic
#6D1262 #626D12 #12626D
tetradic
#6D1262 #6D4B12 #126D1D #12346D
square
#6D1262 #6D4B12 #126D1D #12346D
split-complementary
#6D1262 #346D12 #126D4B
monochromatic
#1A0418 #380933 #6D1262 #A21B91 #D623C0

Accessibility & contrast

On white

10.98
#6D1262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6D1262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1262
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1262#FFFFFF#000000##FFFFFF
##6D12621.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3464
Deuteranopia (green-blind)
#334160
Tritanopia (blue-blind)
#721C3A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6d1262;
/* rgb */ color: rgb(109, 18, 98);
/* oklch */ color: oklch(37.8% 0.152 333.8);
Tailwind
colors: {
  custom: {
    50: '#9a5d8f',
    500: '#6d1262',
    950: '#000000',
  },
}
SCSS
$custom: #6d1262;
$custom-light: #9a5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1262",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 98
  },
  "hsl": {
    "h": 307.253,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.37761,
    "c": 0.15152,
    "h": 333.8
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#6D1262
secondary
#37A444
accent
#EE4F39
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D1262

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

Preview Lab → · Contrast checker → · Palette generator →

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