#68236A#68236A

#68236A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.0% C 0.135 H 326.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#68236A
RGBrgb(104, 35, 106)
HSLhsl(298, 50%, 28%)
HSVhsv(298, 67%, 42%)
CMYKcmyk(1.9%, 67%, 0%, 58.4%)
CIE-LABlab(27.26, 40.68, -26.75)
CIE-LCHlch(27.26, 48.69, 326.67°)
OKLaboklab(39.03% 0.1124 -0.074)
OKLCHoklch(39.03% 0.135 326.6)
XYZxyz(8.9113, 5.1863, 14.1646)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68236A #256A23
analogous
#45236A #68236A #6A2348
triadic
#68236A #6A6823 #236A68
tetradic
#68236A #6A4523 #256A23 #23486A
square
#68236A #6A4523 #256A23 #23486A
split-complementary
#68236A #486A23 #236A45
monochromatic
#170817 #3B143C #68236A #953298 #BE46C2

Accessibility & contrast

On white

10.31
#68236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#68236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68236A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68236A#FFFFFF#000000##FFFFFF
##68236A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#324368
Tritanopia (blue-blind)
#6B2D43
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #68236a;
/* rgb */ color: rgb(104, 35, 106);
/* oklch */ color: oklch(39.0% 0.135 326.6);
Tailwind
colors: {
  custom: {
    50: '#966495',
    500: '#68236a',
    950: '#000000',
  },
}
SCSS
$custom: #68236a;
$custom-light: #966495;
$custom-dark: #000000;
JSON
{
  "hex": "#68236a",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 298.31,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3903,
    "c": 0.13459,
    "h": 326.6
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#68236A
secondary
#4E9D4B
accent
#DA4E52
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #68236A

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

Preview Lab → · Contrast checker → · Palette generator →

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