#68248A#68248A

#68248A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.165 H 311.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#68248A
RGBrgb(104, 36, 138)
HSLhsl(280, 59%, 34%)
HSVhsv(280, 74%, 54%)
CMYKcmyk(24.6%, 73.9%, 0%, 45.9%)
CIE-LABlab(29.51, 46.94, -43.39)
CIE-LCHlch(29.51, 63.92, 317.25°)
OKLaboklab(41.32% 0.1097 -0.1227)
OKLCHoklch(41.32% 0.165 311.8)
XYZxyz(10.9264, 6.0401, 24.6301)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68248A #468A24
analogous
#35248A #68248A #8A2479
triadic
#68248A #8A6824 #248A68
tetradic
#68248A #8A3524 #468A24 #24798A
square
#68248A #8A3524 #468A24 #24798A
split-complementary
#68248A #798A24 #248A35
monochromatic
#1F0B29 #431759 #68248A #8D31BB #A956D3

Accessibility & contrast

On white

9.51
#68248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#68248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68248A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68248A#FFFFFF#000000##FFFFFF
##68248A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#164788
Tritanopia (blue-blind)
#643B55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68248a;
/* rgb */ color: rgb(104, 36, 138);
/* oklch */ color: oklch(41.3% 0.165 311.8);
Tailwind
colors: {
  custom: {
    50: '#9765ad',
    500: '#68248a',
    950: '#000000',
  },
}
SCSS
$custom: #68248a;
$custom-light: #9765ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68248a",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 280,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.16454,
    "h": 311.8
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#68248A
secondary
#74B753
accent
#E2467A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68248A

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

Preview Lab → · Contrast checker → · Palette generator →

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