#623F8B#623F8B

#623F8B is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.4% C 0.124 H 303.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#623F8B
RGBrgb(98, 63, 139)
HSLhsl(268, 38%, 40%)
HSVhsv(268, 55%, 55%)
CMYKcmyk(29.5%, 54.7%, 0%, 45.5%)
CIE-LABlab(34.02, 31.53, -36.83)
CIE-LCHlch(34.02, 48.48, 310.57°)
OKLaboklab(44.43% 0.0673 -0.1037)
OKLCHoklch(44.43% 0.124 303)
XYZxyz(11.4737, 8.0158, 25.3638)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623F8B #688B3F
analogous
#3F428B #623F8B #883F8B
triadic
#623F8B #8B623F #3F8B62
tetradic
#623F8B #8B3F42 #688B3F #3F8B88
square
#623F8B #8B3F42 #688B3F #3F8B88
split-complementary
#623F8B #8B883F #428B3F
monochromatic
#271937 #442C61 #623F8B #8055B2 #9F7FC5

Accessibility & contrast

On white

8.07
#623F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#623F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623F8B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623F8B#FFFFFF#000000##FFFFFF
##623F8B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#2F5089
Tritanopia (blue-blind)
#5A4D5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #623f8b;
/* rgb */ color: rgb(98, 63, 139);
/* oklch */ color: oklch(44.4% 0.124 303.0);
Tailwind
colors: {
  custom: {
    50: '#9175ad',
    500: '#623f8b',
    950: '#000000',
  },
}
SCSS
$custom: #623f8b;
$custom-light: #9175ad;
$custom-dark: #000000;
JSON
{
  "hex": "#623f8b",
  "rgb": {
    "r": 98,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 267.632,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44434,
    "c": 0.12365,
    "h": 303
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#623F8B
secondary
#95AF76
accent
#CE5A98
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623F8B

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

Preview Lab → · Contrast checker → · Palette generator →

#623F8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva