#6C1263#6C1263

#6C1263 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.6% C 0.152 H 332.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#6C1263
RGBrgb(108, 18, 99)
HSLhsl(306, 71%, 25%)
HSVhsv(306, 83%, 42%)
CMYKcmyk(0%, 83.3%, 8.3%, 57.6%)
CIE-LABlab(25.33, 46.79, -25.21)
CIE-LCHlch(25.33, 53.15, 331.68°)
OKLaboklab(37.65% 0.135 -0.0693)
OKLCHoklch(37.65% 0.152 332.8)
XYZxyz(8.6528, 4.5224, 12.2191)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1263 #126C1B
analogous
#48126C #6C1263 #6C1236
triadic
#6C1263 #636C12 #12636C
tetradic
#6C1263 #6C4812 #126C1B #12366C
square
#6C1263 #6C4812 #126C1B #12366C
split-complementary
#6C1263 #366C12 #126C48
monochromatic
#1A0418 #380933 #6C1263 #A01B93 #D523C3

Accessibility & contrast

On white

11.03
#6C1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#6C1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1263
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1263#FFFFFF#000000##FFFFFF
##6C12631.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3465
Deuteranopia (green-blind)
#324061
Tritanopia (blue-blind)
#711D3A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6c1263;
/* rgb */ color: rgb(108, 18, 99);
/* oklch */ color: oklch(37.6% 0.152 332.8);
Tailwind
colors: {
  custom: {
    50: '#995d90',
    500: '#6c1263',
    950: '#000000',
  },
}
SCSS
$custom: #6c1263;
$custom-light: #995d90;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1263",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 306,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.15174,
    "h": 332.8
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#6C1263
secondary
#36A341
accent
#EE4C3A
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6C1263

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

Preview Lab → · Contrast checker → · Palette generator →

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