#682E90#682E90

#682E90 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.158 H 308.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#682E90
RGBrgb(104, 46, 144)
HSLhsl(276, 52%, 37%)
HSVhsv(276, 68%, 56%)
CMYKcmyk(27.8%, 68.1%, 0%, 43.5%)
CIE-LABlab(31.60, 43.67, -43.73)
CIE-LCHlch(31.60, 61.80, 314.97°)
OKLaboklab(42.95% 0.0977 -0.1237)
OKLCHoklch(42.95% 0.158 308.3)
XYZxyz(11.7189, 6.9108, 27.0967)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682E90 #56902E
analogous
#372E90 #682E90 #902E87
triadic
#682E90 #90682E #2E9068
tetradic
#682E90 #90372E #56902E #2E8790
square
#682E90 #90372E #56902E #2E8790
split-complementary
#682E90 #87902E #2E9037
monochromatic
#251033 #471F62 #682E90 #893DBE #A669CF

Accessibility & contrast

On white

8.82
#682E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#682E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682E90
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682E90#FFFFFF#000000##FFFFFF
##682E901.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#1B4B8E
Tritanopia (blue-blind)
#62435B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #682e90;
/* rgb */ color: rgb(104, 46, 144);
/* oklch */ color: oklch(42.9% 0.158 308.3);
Tailwind
colors: {
  custom: {
    50: '#976bb1',
    500: '#682e90',
    950: '#000000',
  },
}
SCSS
$custom: #682e90;
$custom-light: #976bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#682e90",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 275.51,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42947,
    "c": 0.15766,
    "h": 308.3
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#682E90
secondary
#85B664
accent
#DB4D87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682E90

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

Preview Lab → · Contrast checker → · Palette generator →

#682E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva