#682691#682691

#682691 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.169 H 309.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#682691
RGBrgb(104, 38, 145)
HSLhsl(277, 58%, 36%)
HSVhsv(277, 74%, 57%)
CMYKcmyk(28.3%, 73.8%, 0%, 43.1%)
CIE-LABlab(30.34, 47.66, -46.39)
CIE-LCHlch(30.34, 66.51, 315.77°)
OKLaboklab(42.07% 0.1065 -0.1315)
OKLCHoklch(42.07% 0.169 309)
XYZxyz(11.5118, 6.3738, 27.4064)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682691 #4F9126
analogous
#322691 #682691 #912684
triadic
#682691 #916826 #269168
tetradic
#682691 #913226 #4F9126 #268491
square
#682691 #913226 #4F9126 #268491
split-complementary
#682691 #849126 #269132
monochromatic
#220D30 #451961 #682691 #8B33C1 #A75DD5

Accessibility & contrast

On white

9.23
#682691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#682691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682691
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682691#FFFFFF#000000##FFFFFF
##6826911.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#0A488F
Tritanopia (blue-blind)
#623F59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682691;
/* rgb */ color: rgb(104, 38, 145);
/* oklch */ color: oklch(42.1% 0.169 309.0);
Tailwind
colors: {
  custom: {
    50: '#9767b2',
    500: '#682691',
    950: '#000000',
  },
}
SCSS
$custom: #682691;
$custom-light: #9767b2;
$custom-dark: #000000;
JSON
{
  "hex": "#682691",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 277.009,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.1692,
    "h": 309
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#682691
secondary
#7EBA59
accent
#E24682
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682691

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

Preview Lab → · Contrast checker → · Palette generator →

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