#623794#623794

#623794 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.8% C 0.148 H 301.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#623794
RGBrgb(98, 55, 148)
HSLhsl(268, 46%, 40%)
HSVhsv(268, 63%, 58%)
CMYKcmyk(33.8%, 62.8%, 0%, 42%)
CIE-LABlab(32.85, 38.51, -44.21)
CIE-LCHlch(32.85, 58.63, 311.06°)
OKLaboklab(43.77% 0.0781 -0.1254)
OKLCHoklch(43.77% 0.148 301.9)
XYZxyz(11.7472, 7.4671, 28.8336)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623794 #699437
analogous
#373A94 #623794 #913794
triadic
#623794 #946237 #379462
tetradic
#623794 #94373A #699437 #379491
square
#623794 #94373A #699437 #379491
split-complementary
#623794 #949137 #3A9437
monochromatic
#27163B #442667 #623794 #804CBC #A078CD

Accessibility & contrast

On white

8.42
#623794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#623794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623794
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623794#FFFFFF#000000##FFFFFF
##6237941.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#1A4D92
Tritanopia (blue-blind)
#584B60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #623794;
/* rgb */ color: rgb(98, 55, 148);
/* oklch */ color: oklch(43.8% 0.148 301.9);
Tailwind
colors: {
  custom: {
    50: '#9270b4',
    500: '#623794',
    950: '#000000',
  },
}
SCSS
$custom: #623794;
$custom-light: #9270b4;
$custom-dark: #000000;
JSON
{
  "hex": "#623794",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 267.742,
    "s": 45.813,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43765,
    "c": 0.1477,
    "h": 301.9
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#623794
secondary
#96B671
accent
#D55299
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623794

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

Preview Lab → · Contrast checker → · Palette generator →

#623794 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva