#623894#623894

#623894 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.146 H 301.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#623894
RGBrgb(98, 56, 148)
HSLhsl(267, 45%, 40%)
HSVhsv(267, 62%, 58%)
CMYKcmyk(33.8%, 62.2%, 0%, 42%)
CIE-LABlab(33.06, 37.95, -43.88)
CIE-LCHlch(33.06, 58.01, 310.86°)
OKLaboklab(43.92% 0.0768 -0.1244)
OKLCHoklch(43.92% 0.146 301.7)
XYZxyz(11.7952, 7.5631, 28.8496)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623894 #6A9438
analogous
#383C94 #623894 #903894
triadic
#623894 #946238 #389462
tetradic
#623894 #94383C #6A9438 #389490
square
#623894 #94383C #6A9438 #389490
split-complementary
#623894 #949038 #3C9438
monochromatic
#27163B #452768 #623894 #804DBC #A07ACD

Accessibility & contrast

On white

8.36
#623894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#623894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623894
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623894#FFFFFF#000000##FFFFFF
##6238941.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #623894;
/* rgb */ color: rgb(98, 56, 148);
/* oklch */ color: oklch(43.9% 0.146 301.7);
Tailwind
colors: {
  custom: {
    50: '#9271b4',
    500: '#623894',
    950: '#000000',
  },
}
SCSS
$custom: #623894;
$custom-light: #9271b4;
$custom-dark: #000000;
JSON
{
  "hex": "#623894",
  "rgb": {
    "r": 98,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 267.391,
    "s": 45.098,
    "l": 40
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.14621,
    "h": 301.7
  },
  "luminance": 0.07563
}

Semantic roles & 50–950 ramp

primary
#623894
secondary
#97B672
accent
#D5539A
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623894

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

Preview Lab → · Contrast checker → · Palette generator →

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