#68308A#68308A

#68308A is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.8% C 0.148 H 310.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#68308A
RGBrgb(104, 48, 138)
HSLhsl(277, 48%, 36%)
HSVhsv(277, 65%, 54%)
CMYKcmyk(24.6%, 65.2%, 0%, 45.9%)
CIE-LABlab(31.56, 41.24, -40.09)
CIE-LCHlch(31.56, 57.51, 315.80°)
OKLaboklab(42.79% 0.0957 -0.1131)
OKLCHoklch(42.79% 0.148 310.2)
XYZxyz(11.3524, 6.8922, 24.7721)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68308A #528A30
analogous
#3B308A #68308A #8A307F
triadic
#68308A #8A6830 #308A68
tetradic
#68308A #8A3B30 #528A30 #307F8A
square
#68308A #8A3B30 #528A30 #307F8A
split-complementary
#68308A #7F8A30 #308A3B
monochromatic
#24102F #46205D #68308A #8A40B7 #A669CB

Accessibility & contrast

On white

8.83
#68308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#68308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68308A
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68308A#FFFFFF#000000##FFFFFF
##68308A1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#254B88
Tritanopia (blue-blind)
#634258
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68308a;
/* rgb */ color: rgb(104, 48, 138);
/* oklch */ color: oklch(42.8% 0.148 310.2);
Tailwind
colors: {
  custom: {
    50: '#966cad',
    500: '#68308a',
    950: '#000000',
  },
}
SCSS
$custom: #68308a;
$custom-light: #966cad;
$custom-dark: #000000;
JSON
{
  "hex": "#68308a",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 277.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.14814,
    "h": 310.2
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#68308A
secondary
#81B264
accent
#D85083
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #68308A

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

Preview Lab → · Contrast checker → · Palette generator →

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