#631257#631257

#631257 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.138 H 335.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#631257
RGBrgb(99, 18, 87)
HSLhsl(309, 69%, 23%)
HSVhsv(309, 82%, 39%)
CMYKcmyk(0%, 81.8%, 12.1%, 61.2%)
CIE-LABlab(22.91, 42.69, -21.21)
CIE-LCHlch(22.91, 47.67, 333.57°)
OKLaboklab(35.37% 0.1247 -0.058)
OKLCHoklch(35.37% 0.138 335)
XYZxyz(7.0823, 3.7740, 9.3704)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631257 #12631E
analogous
#461263 #631257 #63122E
triadic
#631257 #576312 #125763
tetradic
#631257 #634612 #12631E #122E63
square
#631257 #634612 #12631E #122E63
split-complementary
#631257 #2E6312 #126346
monochromatic
#1A0517 #2F0929 #631257 #971B85 #CB25B2

Accessibility & contrast

On white

11.97
#631257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#631257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631257
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631257#FFFFFF#000000##FFFFFF
##6312571.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F59
Deuteranopia (green-blind)
#303B55
Tritanopia (blue-blind)
#681934
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #631257;
/* rgb */ color: rgb(99, 18, 87);
/* oklch */ color: oklch(35.4% 0.138 335.0);
Tailwind
colors: {
  custom: {
    50: '#925b86',
    500: '#631257',
    950: '#000000',
  },
}
SCSS
$custom: #631257;
$custom-light: #925b86;
$custom-dark: #000000;
JSON
{
  "hex": "#631257",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 308.889,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35369,
    "c": 0.1375,
    "h": 335
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#631257
secondary
#369B45
accent
#EC563C
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #631257

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

Preview Lab → · Contrast checker → · Palette generator →

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