#631D71#631D71

#631D71 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.147 H 320.4°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#631D71
RGBrgb(99, 29, 113)
HSLhsl(290, 59%, 28%)
HSVhsv(290, 74%, 44%)
CMYKcmyk(12.4%, 74.3%, 0%, 55.7%)
CIE-LABlab(25.93, 43.42, -33.42)
CIE-LCHlch(25.93, 54.79, 322.42°)
OKLaboklab(38.05% 0.1132 -0.0935)
OKLCHoklch(38.05% 0.147 320.4)
XYZxyz(8.5652, 4.7241, 16.0803)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631D71 #2B711D
analogous
#391D71 #631D71 #711D55
triadic
#631D71 #71631D #1D7163
tetradic
#631D71 #71391D #2B711D #1D5571
square
#631D71 #71391D #2B711D #1D5571
split-complementary
#631D71 #55711D #1D7139
monochromatic
#150618 #381140 #631D71 #8E29A2 #B53CCD

Accessibility & contrast

On white

10.80
#631D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#631D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631D71
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631D71#FFFFFF#000000##FFFFFF
##631D711.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#25406F
Tritanopia (blue-blind)
#642D45
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #631d71;
/* rgb */ color: rgb(99, 29, 113);
/* oklch */ color: oklch(38.1% 0.147 320.4);
Tailwind
colors: {
  custom: {
    50: '#92609a',
    500: '#631d71',
    950: '#000000',
  },
}
SCSS
$custom: #631d71;
$custom-light: #92609a;
$custom-dark: #000000;
JSON
{
  "hex": "#631d71",
  "rgb": {
    "r": 99,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 290,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38051,
    "c": 0.14683,
    "h": 320.4
  },
  "luminance": 0.04724
}

Semantic roles & 50–950 ramp

primary
#631D71
secondary
#55A544
accent
#E24560
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631D71

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

Preview Lab → · Contrast checker → · Palette generator →

#631D71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva