#623781#623781

#623781 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.124 H 308.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#623781
RGBrgb(98, 55, 129)
HSLhsl(275, 40%, 36%)
HSVhsv(275, 57%, 51%)
CMYKcmyk(24%, 57.4%, 0%, 49.4%)
CIE-LABlab(31.61, 33.66, -34.47)
CIE-LCHlch(31.61, 48.18, 314.32°)
OKLaboklab(42.46% 0.0781 -0.0968)
OKLCHoklch(42.46% 0.124 308.9)
XYZxyz(10.3649, 6.9142, 21.5532)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623781 #568137
analogous
#3D3781 #623781 #81377B
triadic
#623781 #816237 #378162
tetradic
#623781 #813D37 #568137 #377B81
square
#623781 #813D37 #568137 #377B81
split-complementary
#623781 #7B8137 #37813D
monochromatic
#21122B #412556 #623781 #8349AC #A070C2

Accessibility & contrast

On white

8.81
#623781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#623781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623781
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623781#FFFFFF#000000##FFFFFF
##6237811.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4983
Deuteranopia (green-blind)
#2E4B7F
Tritanopia (blue-blind)
#5E4456
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #623781;
/* rgb */ color: rgb(98, 55, 129);
/* oklch */ color: oklch(42.5% 0.124 308.9);
Tailwind
colors: {
  custom: {
    50: '#9170a6',
    500: '#623781',
    950: '#000000',
  },
}
SCSS
$custom: #623781;
$custom-light: #9170a6;
$custom-dark: #000000;
JSON
{
  "hex": "#623781",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 274.865,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42464,
    "c": 0.12438,
    "h": 308.9
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#623781
secondary
#85AB69
accent
#D0588A
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #623781

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

Preview Lab → · Contrast checker → · Palette generator →

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