#682790#682790

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

Color values

HEX#682790
RGBrgb(104, 39, 144)
HSLhsl(277, 57%, 36%)
HSVhsv(277, 73%, 56%)
CMYKcmyk(27.8%, 72.9%, 0%, 43.5%)
CIE-LABlab(30.42, 46.98, -45.64)
CIE-LCHlch(30.42, 65.50, 315.83°)
OKLaboklab(42.1% 0.1056 -0.1293)
OKLCHoklch(42.1% 0.167 309.2)
XYZxyz(11.4675, 6.4079, 27.0129)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682790 #4F9027
analogous
#332790 #682790 #902783
triadic
#682790 #906827 #279068
tetradic
#682790 #903327 #4F9027 #278390
square
#682790 #903327 #4F9027 #278390
split-complementary
#682790 #839027 #279033
monochromatic
#220D30 #451A60 #682790 #8B34C0 #A75ED3

Accessibility & contrast

On white

9.20
#682790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#682790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682790
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682790#FFFFFF#000000##FFFFFF
##6827901.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682790;
/* rgb */ color: rgb(104, 39, 144);
/* oklch */ color: oklch(42.1% 0.167 309.2);
Tailwind
colors: {
  custom: {
    50: '#9767b1',
    500: '#682790',
    950: '#000000',
  },
}
SCSS
$custom: #682790;
$custom-light: #9767b1;
$custom-dark: #000000;
JSON
{
  "hex": "#682790",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 277.143,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.16694,
    "h": 309.2
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#682790
secondary
#7EB95A
accent
#E14782
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682790

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

Preview Lab → · Contrast checker → · Palette generator →

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