#68309A#68309A

#68309A is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.166 H 304.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#68309A
RGBrgb(104, 48, 154)
HSLhsl(272, 52%, 40%)
HSVhsv(272, 69%, 60%)
CMYKcmyk(32.5%, 68.8%, 0%, 39.6%)
CIE-LABlab(32.68, 45.10, -48.11)
CIE-LCHlch(32.68, 65.94, 313.16°)
OKLaboklab(43.95% 0.0943 -0.1366)
OKLCHoklch(43.95% 0.166 304.6)
XYZxyz(12.5973, 7.3901, 31.3284)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68309A #629A30
analogous
#33309A #68309A #9A3097
triadic
#68309A #9A6830 #309A68
tetradic
#68309A #9A3330 #629A30 #30979A
square
#68309A #9A3330 #629A30 #30979A
split-complementary
#68309A #979A30 #309A33
monochromatic
#29133D #48216B #68309A #8743C4 #A572D3

Accessibility & contrast

On white

8.47
#68309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#68309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68309A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68309A#FFFFFF#000000##FFFFFF
##68309A1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#094D98
Tritanopia (blue-blind)
#5F4861
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #68309a;
/* rgb */ color: rgb(104, 48, 154);
/* oklch */ color: oklch(43.9% 0.166 304.6);
Tailwind
colors: {
  custom: {
    50: '#976db8',
    500: '#68309a',
    950: '#000000',
  },
}
SCSS
$custom: #68309a;
$custom-light: #976db8;
$custom-dark: #000000;
JSON
{
  "hex": "#68309a",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 271.698,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43946,
    "c": 0.166,
    "h": 304.6
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#68309A
secondary
#91BB6B
accent
#DC4C90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #68309A

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

Preview Lab → · Contrast checker → · Palette generator →

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