#683299#683299

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

Color values

HEX#683299
RGBrgb(104, 50, 153)
HSLhsl(271, 51%, 40%)
HSVhsv(271, 67%, 60%)
CMYKcmyk(32%, 67.3%, 0%, 40%)
CIE-LABlab(32.97, 43.85, -47.02)
CIE-LCHlch(32.97, 64.30, 313.00°)
OKLaboklab(44.13% 0.0922 -0.1334)
OKLCHoklch(44.13% 0.162 304.6)
XYZxyz(12.5980, 7.5242, 30.9194)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683299 #639932
analogous
#343299 #683299 #993297
triadic
#683299 #996832 #329968
tetradic
#683299 #993432 #639932 #329799
square
#683299 #993432 #639932 #329799
split-complementary
#683299 #979932 #329934
monochromatic
#29143D #49236B #683299 #8746C2 #A574D2

Accessibility & contrast

On white

8.38
#683299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #683299
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683299#FFFFFF#000000##FFFFFF
##6832991.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#114E97
Tritanopia (blue-blind)
#5F4961
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #683299;
/* rgb */ color: rgb(104, 50, 153);
/* oklch */ color: oklch(44.1% 0.162 304.6);
Tailwind
colors: {
  custom: {
    50: '#976eb8',
    500: '#683299',
    950: '#000000',
  },
}
SCSS
$custom: #683299;
$custom-light: #976eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#683299",
  "rgb": {
    "r": 104,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 271.456,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44133,
    "c": 0.16216,
    "h": 304.6
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#683299
secondary
#92BA6D
accent
#DA4E90
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #683299

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

Preview Lab → · Contrast checker → · Palette generator →

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