#623DA1#623DA1

#623DA1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.6% C 0.155 H 296.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#623DA1
RGBrgb(98, 61, 161)
HSLhsl(262, 45%, 44%)
HSVhsv(262, 62%, 63%)
CMYKcmyk(39.1%, 62.1%, 0%, 36.9%)
CIE-LABlab(35.02, 38.62, -48.60)
CIE-LCHlch(35.02, 62.07, 308.47°)
OKLaboklab(45.63% 0.07 -0.1383)
OKLCHoklch(45.63% 0.155 296.8)
XYZxyz(13.1371, 8.5071, 34.6612)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623DA1 #7CA13D
analogous
#3D4AA1 #623DA1 #943DA1
triadic
#623DA1 #A1623D #3DA162
tetradic
#623DA1 #A13D4A #7CA13D #3DA194
square
#623DA1 #A13D4A #7CA13D #3DA194
split-complementary
#623DA1 #A1943D #4AA13D
monochromatic
#2C1B48 #472C75 #623DA1 #805BC1 #A387D1

Accessibility & contrast

On white

7.77
#623DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#623DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623DA1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623DA1#FFFFFF#000000##FFFFFF
##623DA11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#0C519F
Tritanopia (blue-blind)
#535369
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623da1;
/* rgb */ color: rgb(98, 61, 161);
/* oklch */ color: oklch(45.6% 0.155 296.8);
Tailwind
colors: {
  custom: {
    50: '#9374bd',
    500: '#623da1',
    950: '#000000',
  },
}
SCSS
$custom: #623da1;
$custom-light: #9374bd;
$custom-dark: #000000;
JSON
{
  "hex": "#623da1",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 262.2,
    "s": 45.045,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.15499,
    "h": 296.8
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#623DA1
secondary
#A5BC7E
accent
#D553A5
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #623DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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