#623F8D#623F8D

#623F8D is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.6% C 0.126 H 302.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#623F8D
RGBrgb(98, 63, 141)
HSLhsl(267, 38%, 40%)
HSVhsv(267, 55%, 55%)
CMYKcmyk(30.5%, 55.3%, 0%, 44.7%)
CIE-LABlab(34.14, 32.05, -37.86)
CIE-LCHlch(34.14, 49.60, 310.25°)
OKLaboklab(44.56% 0.0674 -0.1068)
OKLCHoklch(44.56% 0.126 302.3)
XYZxyz(11.6211, 8.0748, 26.1405)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623F8D #6A8D3F
analogous
#3F438D #623F8D #893F8D
triadic
#623F8D #8D623F #3F8D62
tetradic
#623F8D #8D3F43 #6A8D3F #3F8D89
square
#623F8D #8D3F43 #6A8D3F #3F8D89
split-complementary
#623F8D #8D893F #438D3F
monochromatic
#271938 #452C63 #623F8D #8056B3 #A080C6

Accessibility & contrast

On white

8.03
#623F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#623F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623F8D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623F8D#FFFFFF#000000##FFFFFF
##623F8D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225090
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#5A4E60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #623f8d;
/* rgb */ color: rgb(98, 63, 141);
/* oklch */ color: oklch(44.6% 0.126 302.3);
Tailwind
colors: {
  custom: {
    50: '#9175af',
    500: '#623f8d',
    950: '#000000',
  },
}
SCSS
$custom: #623f8d;
$custom-light: #9175af;
$custom-dark: #000000;
JSON
{
  "hex": "#623f8d",
  "rgb": {
    "r": 98,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 266.923,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.12626,
    "h": 302.3
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#623F8D
secondary
#97B177
accent
#CE5A9A
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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