#68255F#68255F

#68255F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.6% C 0.122 H 333.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#68255F
RGBrgb(104, 37, 95)
HSLhsl(308, 48%, 28%)
HSVhsv(308, 64%, 41%)
CMYKcmyk(0%, 64.4%, 8.7%, 59.2%)
CIE-LABlab(27.00, 37.70, -20.03)
CIE-LCHlch(27.00, 42.69, 332.02°)
OKLaboklab(38.65% 0.1086 -0.0547)
OKLCHoklch(38.65% 0.122 333.3)
XYZxyz(8.4361, 5.0930, 11.3630)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68255F #25682E
analogous
#502568 #68255F #68253D
triadic
#68255F #5F6825 #255F68
tetradic
#68255F #685025 #25682E #253D68
square
#68255F #685025 #25682E #253D68
split-complementary
#68255F #3D6825 #256850
monochromatic
#170815 #3B1536 #68255F #953588 #BE49AF

Accessibility & contrast

On white

10.40
#68255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#68255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68255F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68255F#FFFFFF#000000##FFFFFF
##68255F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A61
Deuteranopia (green-blind)
#39435D
Tritanopia (blue-blind)
#6D2A3E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68255f;
/* rgb */ color: rgb(104, 37, 95);
/* oklch */ color: oklch(38.6% 0.122 333.3);
Tailwind
colors: {
  custom: {
    50: '#95648c',
    500: '#68255f',
    950: '#000000',
  },
}
SCSS
$custom: #68255f;
$custom-light: #95648c;
$custom-dark: #000000;
JSON
{
  "hex": "#68255f",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 308.06,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38645,
    "c": 0.12158,
    "h": 333.3
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#68255F
secondary
#4E9B58
accent
#D76351
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #68255F

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

Preview Lab → · Contrast checker → · Palette generator →

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