#68257A#68257A

#68257A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.147 H 318.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#68257A
RGBrgb(104, 37, 122)
HSLhsl(287, 53%, 31%)
HSVhsv(287, 70%, 48%)
CMYKcmyk(14.8%, 69.7%, 0%, 52.2%)
CIE-LABlab(28.57, 43.01, -34.89)
CIE-LCHlch(28.57, 55.38, 320.95°)
OKLaboklab(40.29% 0.11 -0.0977)
OKLCHoklch(40.29% 0.147 318.4)
XYZxyz(9.8829, 5.6718, 18.9828)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68257A #377A25
analogous
#3D257A #68257A #7A2561
triadic
#68257A #7A6825 #257A68
tetradic
#68257A #7A3D25 #377A25 #25617A
square
#68257A #7A3D25 #377A25 #25617A
split-complementary
#68257A #617A25 #257A3D
monochromatic
#18091C #40174B #68257A #9033A9 #B050CA

Accessibility & contrast

On white

9.84
#68257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#68257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68257A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68257A#FFFFFF#000000##FFFFFF
##68257A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7C
Deuteranopia (green-blind)
#294678
Tritanopia (blue-blind)
#68354C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68257a;
/* rgb */ color: rgb(104, 37, 122);
/* oklch */ color: oklch(40.3% 0.147 318.4);
Tailwind
colors: {
  custom: {
    50: '#9665a1',
    500: '#68257a',
    950: '#000000',
  },
}
SCSS
$custom: #68257a;
$custom-light: #9665a1;
$custom-dark: #000000;
JSON
{
  "hex": "#68257a",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 287.294,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40292,
    "c": 0.14716,
    "h": 318.4
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#68257A
secondary
#62AC4E
accent
#DD4B6A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #68257A

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

Preview Lab → · Contrast checker → · Palette generator →

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