#68337E#68337E

#68337E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.4% C 0.130 H 314.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#68337E
RGBrgb(104, 51, 126)
HSLhsl(282, 42%, 35%)
HSVhsv(282, 60%, 49%)
CMYKcmyk(17.5%, 59.5%, 0%, 50.6%)
CIE-LABlab(31.39, 36.85, -32.91)
CIE-LCHlch(31.39, 49.41, 318.24°)
OKLaboklab(42.42% 0.0917 -0.0921)
OKLCHoklch(42.42% 0.13 314.9)
XYZxyz(10.6580, 6.8174, 20.4891)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68337E #497E33
analogous
#43337E #68337E #7E336F
triadic
#68337E #7E6833 #337E68
tetradic
#68337E #7E4333 #497E33 #336F7E
square
#68337E #7E4333 #497E33 #336F7E
split-complementary
#68337E #6F7E33 #337E43
monochromatic
#201027 #442152 #68337E #8C45AA #A869C2

Accessibility & contrast

On white

8.89
#68337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#68337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68337E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68337E#FFFFFF#000000##FFFFFF
##68337E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#324B7C
Tritanopia (blue-blind)
#664053
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68337e;
/* rgb */ color: rgb(104, 51, 126);
/* oklch */ color: oklch(42.4% 0.130 314.9);
Tailwind
colors: {
  custom: {
    50: '#956da4',
    500: '#68337e',
    950: '#000000',
  },
}
SCSS
$custom: #68337e;
$custom-light: #956da4;
$custom-dark: #000000;
JSON
{
  "hex": "#68337e",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 282.4,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.12993,
    "h": 314.9
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

primary
#68337E
secondary
#78AA63
accent
#D2567A
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #68337E

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

Preview Lab → · Contrast checker → · Palette generator →

#68337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva