#682291#682291

#682291 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.174 H 309.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#682291
RGBrgb(104, 34, 145)
HSLhsl(278, 62%, 35%)
HSVhsv(278, 77%, 57%)
CMYKcmyk(28.3%, 76.6%, 0%, 43.1%)
CIE-LABlab(29.74, 49.35, -47.35)
CIE-LCHlch(29.74, 68.39, 316.18°)
OKLaboklab(41.65% 0.1105 -0.1343)
OKLCHoklch(41.65% 0.174 309.4)
XYZxyz(11.3908, 6.1317, 27.3660)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682291 #4B9122
analogous
#312291 #682291 #912282
triadic
#682291 #916822 #229168
tetradic
#682291 #913122 #4B9122 #228291
square
#682291 #913122 #4B9122 #228291
split-complementary
#682291 #829122 #229131
monochromatic
#210B2E #44165F #682291 #8C2EC3 #A856D7

Accessibility & contrast

On white

9.43
#682291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#682291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682291
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682291#FFFFFF#000000##FFFFFF
##6822911.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#623C58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682291;
/* rgb */ color: rgb(104, 34, 145);
/* oklch */ color: oklch(41.6% 0.174 309.4);
Tailwind
colors: {
  custom: {
    50: '#9765b2',
    500: '#682291',
    950: '#000000',
  },
}
SCSS
$custom: #682291;
$custom-light: #9765b2;
$custom-dark: #000000;
JSON
{
  "hex": "#682291",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 277.838,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41645,
    "c": 0.1739,
    "h": 309.4
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#682291
secondary
#7ABB53
accent
#E5437F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682291

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

Preview Lab → · Contrast checker → · Palette generator →

#682291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva