#68307E#68307E

#68307E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.0% C 0.135 H 315.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#68307E
RGBrgb(104, 48, 126)
HSLhsl(283, 45%, 34%)
HSVhsv(283, 62%, 49%)
CMYKcmyk(17.5%, 61.9%, 0%, 50.6%)
CIE-LABlab(30.79, 38.46, -33.85)
CIE-LCHlch(30.79, 51.24, 318.64°)
OKLaboklab(41.98% 0.0959 -0.0948)
OKLCHoklch(41.98% 0.135 315.3)
XYZxyz(10.5312, 6.5637, 20.4468)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68307E #467E30
analogous
#41307E #68307E #7E306D
triadic
#68307E #7E6830 #307E68
tetradic
#68307E #7E4130 #467E30 #306D7E
square
#68307E #7E4130 #467E30 #306D7E
split-complementary
#68307E #6D7E30 #307E41
monochromatic
#1F0E25 #431F52 #68307E #8D41AA #A964C4

Accessibility & contrast

On white

9.08
#68307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#68307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68307E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68307E#FFFFFF#000000##FFFFFF
##68307E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#663E52
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68307e;
/* rgb */ color: rgb(104, 48, 126);
/* oklch */ color: oklch(42.0% 0.135 315.3);
Tailwind
colors: {
  custom: {
    50: '#956ca4',
    500: '#68307e',
    950: '#000000',
  },
}
SCSS
$custom: #68307e;
$custom-light: #956ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#68307e",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 283.077,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41981,
    "c": 0.13481,
    "h": 315.3
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#68307E
secondary
#74AB5F
accent
#D55378
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #68307E

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

Preview Lab → · Contrast checker → · Palette generator →

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