#683298#683298

#683298 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.161 H 305.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#683298
RGBrgb(104, 50, 152)
HSLhsl(272, 50%, 40%)
HSVhsv(272, 67%, 60%)
CMYKcmyk(31.6%, 67.1%, 0%, 40.4%)
CIE-LABlab(32.90, 43.60, -46.53)
CIE-LCHlch(32.90, 63.77, 313.14°)
OKLaboklab(44.06% 0.0923 -0.132)
OKLCHoklch(44.06% 0.161 305)
XYZxyz(12.5158, 7.4913, 30.4863)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683298 #629832
analogous
#353298 #683298 #983295
triadic
#683298 #986832 #329868
tetradic
#683298 #983532 #629832 #329598
square
#683298 #983532 #629832 #329598
split-complementary
#683298 #959832 #329835
monochromatic
#29143C #48236A #683298 #8745C2 #A573D1

Accessibility & contrast

On white

8.41
#683298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#683298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683298
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683298#FFFFFF#000000##FFFFFF
##6832981.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#5F4860
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #683298;
/* rgb */ color: rgb(104, 50, 152);
/* oklch */ color: oklch(44.1% 0.161 305.0);
Tailwind
colors: {
  custom: {
    50: '#976eb7',
    500: '#683298',
    950: '#000000',
  },
}
SCSS
$custom: #683298;
$custom-light: #976eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#683298",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 271.765,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.16102,
    "h": 305
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#683298
secondary
#91B96D
accent
#DA4E90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #683298

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

Preview Lab → · Contrast checker → · Palette generator →

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