#682F94#682F94

#682F94 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.161 H 306.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#682F94
RGBrgb(104, 47, 148)
HSLhsl(274, 52%, 38%)
HSVhsv(274, 68%, 58%)
CMYKcmyk(29.7%, 68.2%, 0%, 42%)
CIE-LABlab(32.07, 44.14, -45.43)
CIE-LCHlch(32.07, 63.34, 314.17°)
OKLaboklab(43.37% 0.0962 -0.1287)
OKLCHoklch(43.37% 0.161 306.8)
XYZxyz(12.0696, 7.1143, 28.7486)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682F94 #5B942F
analogous
#352F94 #682F94 #942F8D
triadic
#682F94 #94682F #2F9468
tetradic
#682F94 #94352F #5B942F #2F8D94
square
#682F94 #94352F #5B942F #2F8D94
split-complementary
#682F94 #8D942F #2F9435
monochromatic
#271137 #472066 #682F94 #893EC2 #A56DD1

Accessibility & contrast

On white

8.67
#682F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#682F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682F94
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682F94#FFFFFF#000000##FFFFFF
##682F941.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#164C92
Tritanopia (blue-blind)
#61455D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #682f94;
/* rgb */ color: rgb(104, 47, 148);
/* oklch */ color: oklch(43.4% 0.161 306.8);
Tailwind
colors: {
  custom: {
    50: '#976cb4',
    500: '#682f94',
    950: '#000000',
  },
}
SCSS
$custom: #682f94;
$custom-light: #976cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#682f94",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 273.861,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43369,
    "c": 0.16069,
    "h": 306.8
  },
  "luminance": 0.07114
}

Semantic roles & 50–950 ramp

primary
#682F94
secondary
#8AB867
accent
#DB4D8B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #682F94

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

Preview Lab → · Contrast checker → · Palette generator →

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