#623782#623782

#623782 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.5% C 0.126 H 308.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#623782
RGBrgb(98, 55, 130)
HSLhsl(274, 41%, 36%)
HSVhsv(274, 58%, 51%)
CMYKcmyk(24.6%, 57.7%, 0%, 49%)
CIE-LABlab(31.67, 33.91, -35.00)
CIE-LCHlch(31.67, 48.73, 314.10°)
OKLaboklab(42.53% 0.0781 -0.0984)
OKLCHoklch(42.53% 0.126 308.5)
XYZxyz(10.4317, 6.9409, 21.9050)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623782 #578237
analogous
#3D3782 #623782 #82377D
triadic
#623782 #826237 #378262
tetradic
#623782 #823D37 #578237 #377D82
square
#623782 #823D37 #578237 #377D82
split-complementary
#623782 #7D8237 #37823D
monochromatic
#21132C #422557 #623782 #8249AD #A071C3

Accessibility & contrast

On white

8.79
#623782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#623782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623782
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623782#FFFFFF#000000##FFFFFF
##6237821.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4984
Deuteranopia (green-blind)
#2E4B80
Tritanopia (blue-blind)
#5D4557
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #623782;
/* rgb */ color: rgb(98, 55, 130);
/* oklch */ color: oklch(42.5% 0.126 308.5);
Tailwind
colors: {
  custom: {
    50: '#9170a7',
    500: '#623782',
    950: '#000000',
  },
}
SCSS
$custom: #623782;
$custom-light: #9170a7;
$custom-dark: #000000;
JSON
{
  "hex": "#623782",
  "rgb": {
    "r": 98,
    "g": 55,
    "b": 130
  },
  "hsl": {
    "h": 274.4,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42529,
    "c": 0.1256,
    "h": 308.5
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#623782
secondary
#86AB69
accent
#D0578B
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #623782

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

Preview Lab → · Contrast checker → · Palette generator →

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