#682890#682890

#682890 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.166 H 309.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#682890
RGBrgb(104, 40, 144)
HSLhsl(277, 57%, 36%)
HSVhsv(277, 72%, 56%)
CMYKcmyk(27.8%, 72.2%, 0%, 43.5%)
CIE-LABlab(30.58, 46.53, -45.38)
CIE-LCHlch(30.58, 65.00, 315.72°)
OKLaboklab(42.22% 0.1045 -0.1285)
OKLCHoklch(42.22% 0.166 309.1)
XYZxyz(11.5007, 6.4745, 27.0240)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682890 #509028
analogous
#342890 #682890 #902884
triadic
#682890 #906828 #289068
tetradic
#682890 #903428 #509028 #288490
square
#682890 #903428 #509028 #288490
split-complementary
#682890 #849028 #289034
monochromatic
#230D30 #451B60 #682890 #8B35C0 #A660D3

Accessibility & contrast

On white

9.15
#682890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#682890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682890
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682890#FFFFFF#000000##FFFFFF
##6828901.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#11498E
Tritanopia (blue-blind)
#623F59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #682890;
/* rgb */ color: rgb(104, 40, 144);
/* oklch */ color: oklch(42.2% 0.166 309.1);
Tailwind
colors: {
  custom: {
    50: '#9768b1',
    500: '#682890',
    950: '#000000',
  },
}
SCSS
$custom: #682890;
$custom-light: #9768b1;
$custom-dark: #000000;
JSON
{
  "hex": "#682890",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 276.923,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42215,
    "c": 0.16568,
    "h": 309.1
  },
  "luminance": 0.06474
}

Semantic roles & 50–950 ramp

primary
#682890
secondary
#7FB85C
accent
#E04882
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682890

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

Preview Lab → · Contrast checker → · Palette generator →

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