#68125A#68125A

#68125A is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.143 H 335.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#68125A
RGBrgb(104, 18, 90)
HSLhsl(310, 70%, 24%)
HSVhsv(310, 83%, 41%)
CMYKcmyk(0%, 82.7%, 13.5%, 59.2%)
CIE-LABlab(24.05, 44.39, -21.36)
CIE-LCHlch(24.05, 49.26, 334.31°)
OKLaboklab(36.42% 0.1302 -0.0583)
OKLCHoklch(36.42% 0.143 335.9)
XYZxyz(7.7708, 4.1146, 10.0558)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68125A #126820
analogous
#4B1268 #68125A #68122F
triadic
#68125A #5A6812 #125A68
tetradic
#68125A #684B12 #126820 #122F68
square
#68125A #684B12 #126820 #122F68
split-complementary
#68125A #2F6812 #12684B
monochromatic
#1A0517 #34092D #68125A #9C1B87 #D024B4

Accessibility & contrast

On white

11.52
#68125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#68125A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68125A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68125A#FFFFFF#000000##FFFFFF
##68125A1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315C
Deuteranopia (green-blind)
#333E58
Tritanopia (blue-blind)
#6E1935
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #68125a;
/* rgb */ color: rgb(104, 18, 90);
/* oklch */ color: oklch(36.4% 0.143 335.9);
Tailwind
colors: {
  custom: {
    50: '#965c89',
    500: '#68125a',
    950: '#000000',
  },
}
SCSS
$custom: #68125a;
$custom-light: #965c89;
$custom-dark: #000000;
JSON
{
  "hex": "#68125a",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 309.767,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36421,
    "c": 0.14271,
    "h": 335.9
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#68125A
secondary
#36A047
accent
#ED583B
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #68125A

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

Preview Lab → · Contrast checker → · Palette generator →

#68125A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva