#68126F#68126F

#68126F is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.8% C 0.159 H 324.6°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#68126F
RGBrgb(104, 18, 111)
HSLhsl(295, 72%, 25%)
HSVhsv(295, 84%, 44%)
CMYKcmyk(6.3%, 83.8%, 0%, 56.5%)
CIE-LABlab(25.33, 47.99, -33.04)
CIE-LCHlch(25.33, 58.26, 325.45°)
OKLaboklab(37.75% 0.13 -0.0922)
OKLCHoklch(37.75% 0.159 324.6)
XYZxyz(8.7942, 4.5239, 15.4459)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68126F #196F12
analogous
#39126F #68126F #6F1247
triadic
#68126F #6F6812 #126F68
tetradic
#68126F #6F3912 #196F12 #12476F
square
#68126F #6F3912 #196F12 #12476F
split-complementary
#68126F #476F12 #126F39
monochromatic
#19041A #37093A #68126F #991BA4 #CB23D8

Accessibility & contrast

On white

11.03
#68126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#68126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68126F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68126F#FFFFFF#000000##FFFFFF
##68126F1.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)
#003671
Deuteranopia (green-blind)
#263F6D
Tritanopia (blue-blind)
#6A2541
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #68126f;
/* rgb */ color: rgb(104, 18, 111);
/* oklch */ color: oklch(37.8% 0.159 324.6);
Tailwind
colors: {
  custom: {
    50: '#975d99',
    500: '#68126f',
    950: '#000000',
  },
}
SCSS
$custom: #68126f;
$custom-light: #975d99;
$custom-dark: #000000;
JSON
{
  "hex": "#68126f",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 295.484,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37752,
    "c": 0.15937,
    "h": 324.6
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#68126F
secondary
#3FA637
accent
#EF3947
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #68126F

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

Preview Lab → · Contrast checker → · Palette generator →

#68126F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva