#682294#682294

#682294 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.177 H 308.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#682294
RGBrgb(104, 34, 148)
HSLhsl(277, 63%, 36%)
HSVhsv(277, 77%, 58%)
CMYKcmyk(29.7%, 77%, 0%, 42%)
CIE-LABlab(29.97, 50.03, -48.82)
CIE-LCHlch(29.97, 69.90, 315.70°)
OKLaboklab(41.88% 0.1099 -0.1386)
OKLCHoklch(41.88% 0.177 308.4)
XYZxyz(11.6251, 6.2254, 28.6004)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682294 #4E9422
analogous
#2F2294 #682294 #942287
triadic
#682294 #946822 #229468
tetradic
#682294 #942F22 #4E9422 #228794
square
#682294 #942F22 #4E9422 #228794
split-complementary
#682294 #879422 #22942F
monochromatic
#220B30 #451762 #682294 #8B2DC6 #A758D9

Accessibility & contrast

On white

9.35
#682294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#682294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682294
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682294#FFFFFF#000000##FFFFFF
##6822941.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#613E5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #682294;
/* rgb */ color: rgb(104, 34, 148);
/* oklch */ color: oklch(41.9% 0.177 308.4);
Tailwind
colors: {
  custom: {
    50: '#9865b4',
    500: '#682294',
    950: '#000000',
  },
}
SCSS
$custom: #682294;
$custom-light: #9865b4;
$custom-dark: #000000;
JSON
{
  "hex": "#682294",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 276.842,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.17689,
    "h": 308.4
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#682294
secondary
#7DBD55
accent
#E64281
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682294

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

Preview Lab → · Contrast checker → · Palette generator →

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