#682293#682293

#682293 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.176 H 308.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#682293
RGBrgb(104, 34, 147)
HSLhsl(277, 62%, 35%)
HSVhsv(277, 77%, 58%)
CMYKcmyk(29.3%, 76.9%, 0%, 42.4%)
CIE-LABlab(29.90, 49.80, -48.33)
CIE-LCHlch(29.90, 69.40, 315.86°)
OKLaboklab(41.8% 0.1101 -0.1372)
OKLCHoklch(41.8% 0.176 308.7)
XYZxyz(11.5463, 6.1939, 28.1854)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682293 #4D9322
analogous
#2F2293 #682293 #932285
triadic
#682293 #936822 #229368
tetradic
#682293 #932F22 #4D9322 #228593
square
#682293 #932F22 #4D9322 #228593
split-complementary
#682293 #859322 #22932F
monochromatic
#220B30 #451761 #682293 #8B2DC5 #A757D8

Accessibility & contrast

On white

9.38
#682293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#682293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682293
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682293#FFFFFF#000000##FFFFFF
##6822931.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#613D59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #682293;
/* rgb */ color: rgb(104, 34, 147);
/* oklch */ color: oklch(41.8% 0.176 308.7);
Tailwind
colors: {
  custom: {
    50: '#9865b3',
    500: '#682293',
    950: '#000000',
  },
}
SCSS
$custom: #682293;
$custom-light: #9865b3;
$custom-dark: #000000;
JSON
{
  "hex": "#682293",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 277.168,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.17588,
    "h": 308.7
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#682293
secondary
#7CBC55
accent
#E54280
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #682293

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

Preview Lab → · Contrast checker → · Palette generator →

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