#623989#623989

#623989 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.3% C 0.131 H 305.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#623989
RGBrgb(98, 57, 137)
HSLhsl(271, 41%, 38%)
HSVhsv(271, 58%, 54%)
CMYKcmyk(28.5%, 58.4%, 0%, 46.3%)
CIE-LABlab(32.54, 34.52, -37.94)
CIE-LCHlch(32.54, 51.30, 312.30°)
OKLaboklab(43.31% 0.0756 -0.107)
OKLCHoklch(43.31% 0.131 305.2)
XYZxyz(11.0145, 7.3291, 24.4965)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623989 #608939
analogous
#3A3989 #623989 #893988
triadic
#623989 #896239 #398962
tetradic
#623989 #893A39 #608939 #398889
square
#623989 #893A39 #608939 #398889
split-complementary
#623989 #888939 #39893A
monochromatic
#241533 #43275E #623989 #814BB4 #9F76C6

Accessibility & contrast

On white

8.52
#623989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#623989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623989
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623989#FFFFFF#000000##FFFFFF
##6239891.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8C
Deuteranopia (green-blind)
#2A4D87
Tritanopia (blue-blind)
#5B485B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #623989;
/* rgb */ color: rgb(98, 57, 137);
/* oklch */ color: oklch(43.3% 0.131 305.2);
Tailwind
colors: {
  custom: {
    50: '#9171ac',
    500: '#623989',
    950: '#000000',
  },
}
SCSS
$custom: #623989;
$custom-light: #9171ac;
$custom-dark: #000000;
JSON
{
  "hex": "#623989",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 270.75,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4331,
    "c": 0.13098,
    "h": 305.2
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#623989
secondary
#8EAF6F
accent
#D15792
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623989

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

Preview Lab → · Contrast checker → · Palette generator →

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