#623181#623181

#623181 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.134 H 310.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#623181
RGBrgb(98, 49, 129)
HSLhsl(277, 45%, 35%)
HSVhsv(277, 62%, 51%)
CMYKcmyk(24%, 62%, 0%, 49.4%)
CIE-LABlab(30.35, 37.03, -36.49)
CIE-LCHlch(30.35, 51.98, 315.42°)
OKLaboklab(41.54% 0.0864 -0.1027)
OKLCHoklch(41.54% 0.134 310.1)
XYZxyz(10.0970, 6.3785, 21.4639)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623181 #508131
analogous
#3A3181 #623181 #813178
triadic
#623181 #816231 #318162
tetradic
#623181 #813A31 #508131 #317881
square
#623181 #813A31 #508131 #317881
split-complementary
#623181 #788131 #31813A
monochromatic
#1F0F28 #402055 #623181 #8442AD #A167C5

Accessibility & contrast

On white

9.23
#623181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#623181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623181
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623181#FFFFFF#000000##FFFFFF
##6231811.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124584
Deuteranopia (green-blind)
#28487F
Tritanopia (blue-blind)
#5E4054
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #623181;
/* rgb */ color: rgb(98, 49, 129);
/* oklch */ color: oklch(41.5% 0.134 310.1);
Tailwind
colors: {
  custom: {
    50: '#916ca6',
    500: '#623181',
    950: '#000000',
  },
}
SCSS
$custom: #623181;
$custom-light: #916ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#623181",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 276.75,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4154,
    "c": 0.1342,
    "h": 310.1
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#623181
secondary
#7EAD61
accent
#D55385
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D070F
muted
#7E7A7F

Preview Lab

Preview with #623181

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

Preview Lab → · Contrast checker → · Palette generator →

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