#683798#683798

#683798 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.8% C 0.154 H 304.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#683798
RGBrgb(104, 55, 152)
HSLhsl(270, 47%, 41%)
HSVhsv(270, 64%, 60%)
CMYKcmyk(31.6%, 63.8%, 0%, 40.4%)
CIE-LABlab(33.86, 40.97, -44.98)
CIE-LCHlch(33.86, 60.84, 312.33°)
OKLaboklab(44.75% 0.0862 -0.1274)
OKLCHoklch(44.75% 0.154 304.1)
XYZxyz(12.7413, 7.9425, 30.5615)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#683798 #679837
analogous
#373798 #683798 #983797
triadic
#683798 #986837 #379868
tetradic
#683798 #983737 #679837 #379798
square
#683798 #983737 #679837 #379798
split-complementary
#683798 #979837 #379837
monochromatic
#2B163E #49276B #683798 #874DBF #A57ACF

Accessibility & contrast

On white

8.11
#683798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#683798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #683798
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##683798#FFFFFF#000000##FFFFFF
##6837981.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#1D5096
Tritanopia (blue-blind)
#5F4B62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #683798;
/* rgb */ color: rgb(104, 55, 152);
/* oklch */ color: oklch(44.8% 0.154 304.1);
Tailwind
colors: {
  custom: {
    50: '#9771b7',
    500: '#683798',
    950: '#000000',
  },
}
SCSS
$custom: #683798;
$custom-light: #9771b7;
$custom-dark: #000000;
JSON
{
  "hex": "#683798",
  "rgb": {
    "r": 104,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 270.309,
    "s": 46.86,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44754,
    "c": 0.15386,
    "h": 304.1
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#683798
secondary
#95B873
accent
#D65193
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #683798

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

Preview Lab → · Contrast checker → · Palette generator →

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