#68478D#68478D

#68478D is a mid, moderate violet. Relative luminance 0.094; OKLCH L 46.6% C 0.114 H 304.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#68478D
RGBrgb(104, 71, 141)
HSLhsl(268, 33%, 42%)
HSVhsv(268, 50%, 55%)
CMYKcmyk(26.2%, 49.6%, 0%, 44.7%)
CIE-LABlab(36.69, 28.96, -33.75)
CIE-LCHlch(36.69, 44.47, 310.63°)
OKLaboklab(46.62% 0.064 -0.0946)
OKLCHoklch(46.62% 0.114 304.1)
XYZxyz(12.7688, 9.3727, 26.3306)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68478D #6C8D47
analogous
#47498D #68478D #8B478D
triadic
#68478D #8D6847 #478D68
tetradic
#68478D #8D4749 #6C8D47 #478D8B
square
#68478D #8D4749 #6C8D47 #478D8B
split-complementary
#68478D #8D8B47 #498D47
monochromatic
#2C1E3C #4A3364 #68478D #8662B0 #A68AC4

Accessibility & contrast

On white

7.31
#68478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#68478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68478D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68478D#FFFFFF#000000##FFFFFF
##68478D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#3B568B
Tritanopia (blue-blind)
#625363
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #68478d;
/* rgb */ color: rgb(104, 71, 141);
/* oklch */ color: oklch(46.6% 0.114 304.1);
Tailwind
colors: {
  custom: {
    50: '#957baf',
    500: '#68478d',
    950: '#000000',
  },
}
SCSS
$custom: #68478d;
$custom-light: #957baf;
$custom-dark: #000000;
JSON
{
  "hex": "#68478d",
  "rgb": {
    "r": 104,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 268.286,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.11424,
    "h": 304.1
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#68478D
secondary
#99B080
accent
#C95F97
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #68478D

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

Preview Lab → · Contrast checker → · Palette generator →

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