#623D8D#623D8D

#623D8D is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.2% C 0.130 H 302.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#623D8D
RGBrgb(98, 61, 141)
HSLhsl(268, 40%, 40%)
HSVhsv(268, 57%, 55%)
CMYKcmyk(30.5%, 56.7%, 0%, 44.7%)
CIE-LABlab(33.68, 33.23, -38.58)
CIE-LCHlch(33.68, 50.92, 310.74°)
OKLaboklab(44.23% 0.0702 -0.1089)
OKLCHoklch(44.23% 0.13 302.8)
XYZxyz(11.5124, 7.8572, 26.1042)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623D8D #688D3D
analogous
#3D408D #623D8D #8A3D8D
triadic
#623D8D #8D623D #3D8D62
tetradic
#623D8D #8D3D40 #688D3D #3D8D8A
square
#623D8D #8D3D40 #688D3D #3D8D8A
split-complementary
#623D8D #8D8A3D #408D3D
monochromatic
#271838 #442B62 #623D8D #8053B4 #9F7DC7

Accessibility & contrast

On white

8.17
#623D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#623D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623D8D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623D8D#FFFFFF#000000##FFFFFF
##623D8D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#5A4C5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #623d8d;
/* rgb */ color: rgb(98, 61, 141);
/* oklch */ color: oklch(44.2% 0.130 302.8);
Tailwind
colors: {
  custom: {
    50: '#9174af',
    500: '#623d8d',
    950: '#000000',
  },
}
SCSS
$custom: #623d8d;
$custom-light: #9174af;
$custom-dark: #000000;
JSON
{
  "hex": "#623d8d",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 267.75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.12954,
    "h": 302.8
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#623D8D
secondary
#95B175
accent
#CF5898
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #623D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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