#68309D#68309D

#68309D is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.169 H 303.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#68309D
RGBrgb(104, 48, 157)
HSLhsl(271, 53%, 40%)
HSVhsv(271, 69%, 62%)
CMYKcmyk(33.8%, 69.4%, 0%, 38.4%)
CIE-LABlab(32.90, 45.85, -49.57)
CIE-LCHlch(32.90, 67.52, 312.76°)
OKLaboklab(44.18% 0.094 -0.1409)
OKLCHoklch(44.18% 0.169 303.7)
XYZxyz(12.8503, 7.4913, 32.6607)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68309D #659D30
analogous
#32309D #68309D #9D309B
triadic
#68309D #9D6830 #309D68
tetradic
#68309D #9D3230 #659D30 #309B9D
square
#68309D #9D3230 #659D30 #309B9D
split-complementary
#68309D #9B9D30 #309D32
monochromatic
#2A133F #49226E #68309D #8744C6 #A573D4

Accessibility & contrast

On white

8.41
#68309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#68309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68309D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68309D#FFFFFF#000000##FFFFFF
##68309D1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#5E4963
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #68309d;
/* rgb */ color: rgb(104, 48, 157);
/* oklch */ color: oklch(44.2% 0.169 303.7);
Tailwind
colors: {
  custom: {
    50: '#986dbb',
    500: '#68309d',
    950: '#000000',
  },
}
SCSS
$custom: #68309d;
$custom-light: #986dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#68309d",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 270.826,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.16935,
    "h": 303.7
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#68309D
secondary
#93BC6D
accent
#DD4B92
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68309D

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

Preview Lab → · Contrast checker → · Palette generator →

#68309D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva