#682290#682290

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

Color values

HEX#682290
RGBrgb(104, 34, 144)
HSLhsl(278, 62%, 35%)
HSVhsv(278, 76%, 56%)
CMYKcmyk(27.8%, 76.4%, 0%, 43.5%)
CIE-LABlab(29.67, 49.12, -46.86)
CIE-LCHlch(29.67, 67.89, 316.35°)
OKLaboklab(41.57% 0.1107 -0.1328)
OKLCHoklch(41.57% 0.173 309.8)
XYZxyz(11.3140, 6.1010, 26.9617)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682290 #4A9022
analogous
#312290 #682290 #902281
triadic
#682290 #906822 #229068
tetradic
#682290 #903122 #4A9022 #228190
square
#682290 #903122 #4A9022 #228190
split-complementary
#682290 #819022 #229031
monochromatic
#200B2D #44165E #682290 #8C2EC2 #A855D7

Accessibility & contrast

On white

9.46
#682290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#682290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682290
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682290#FFFFFF#000000##FFFFFF
##6822901.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#03478E
Tritanopia (blue-blind)
#623C58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682290;
/* rgb */ color: rgb(104, 34, 144);
/* oklch */ color: oklch(41.6% 0.173 309.8);
Tailwind
colors: {
  custom: {
    50: '#9765b1',
    500: '#682290',
    950: '#000000',
  },
}
SCSS
$custom: #682290;
$custom-light: #9765b1;
$custom-dark: #000000;
JSON
{
  "hex": "#682290",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 278.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.17291,
    "h": 309.8
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#682290
secondary
#79BB53
accent
#E5437E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682290

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

Preview Lab → · Contrast checker → · Palette generator →

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