#623DA4#623DA4

#623DA4 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.9% C 0.159 H 296.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#623DA4
RGBrgb(98, 61, 164)
HSLhsl(262, 46%, 44%)
HSVhsv(262, 63%, 64%)
CMYKcmyk(40.2%, 62.8%, 0%, 35.7%)
CIE-LABlab(35.23, 39.44, -50.06)
CIE-LCHlch(35.23, 63.73, 308.23°)
OKLaboklab(45.86% 0.0698 -0.1426)
OKLCHoklch(45.86% 0.159 296.1)
XYZxyz(13.4048, 8.6142, 36.0712)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623DA4 #7FA43D
analogous
#3D4CA4 #623DA4 #963DA4
triadic
#623DA4 #A4623D #3DA462
tetradic
#623DA4 #A43D4C #7FA43D #3DA496
square
#623DA4 #A43D4C #7FA43D #3DA496
split-complementary
#623DA4 #A4963D #4CA43D
monochromatic
#2D1C4B #472C77 #623DA4 #815CC2 #A388D3

Accessibility & contrast

On white

7.71
#623DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#623DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623DA4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623DA4#FFFFFF#000000##FFFFFF
##623DA41.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0151A2
Tritanopia (blue-blind)
#52546B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #623da4;
/* rgb */ color: rgb(98, 61, 164);
/* oklch */ color: oklch(45.9% 0.159 296.1);
Tailwind
colors: {
  custom: {
    50: '#9374c0',
    500: '#623da4',
    950: '#000000',
  },
}
SCSS
$custom: #623da4;
$custom-light: #9374c0;
$custom-dark: #000000;
JSON
{
  "hex": "#623da4",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 261.553,
    "s": 45.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.15875,
    "h": 296.1
  },
  "luminance": 0.08614
}

Semantic roles & 50–950 ramp

primary
#623DA4
secondary
#A7BD7F
accent
#D552A6
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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