#682292#682292

#682292 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.175 H 309.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#682292
RGBrgb(104, 34, 146)
HSLhsl(278, 62%, 35%)
HSVhsv(278, 77%, 57%)
CMYKcmyk(28.8%, 76.7%, 0%, 42.7%)
CIE-LABlab(29.82, 49.58, -47.84)
CIE-LCHlch(29.82, 68.90, 316.02°)
OKLaboklab(41.72% 0.1103 -0.1357)
OKLCHoklch(41.72% 0.175 309.1)
XYZxyz(11.4682, 6.1626, 27.7739)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682292 #4C9222
analogous
#302292 #682292 #922284
triadic
#682292 #926822 #229268
tetradic
#682292 #923022 #4C9222 #228492
square
#682292 #923022 #4C9222 #228492
split-complementary
#682292 #849222 #229230
monochromatic
#210B2F #451660 #682292 #8B2EC4 #A757D8

Accessibility & contrast

On white

9.41
#682292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682292
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682292#FFFFFF#000000##FFFFFF
##6822921.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#623D59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682292;
/* rgb */ color: rgb(104, 34, 146);
/* oklch */ color: oklch(41.7% 0.175 309.1);
Tailwind
colors: {
  custom: {
    50: '#9865b3',
    500: '#682292',
    950: '#000000',
  },
}
SCSS
$custom: #682292;
$custom-light: #9865b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682292",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 277.5,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41724,
    "c": 0.17489,
    "h": 309.1
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#682292
secondary
#7BBC54
accent
#E54380
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682292

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

Preview Lab → · Contrast checker → · Palette generator →

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