#631255#631255

#631255 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.3% C 0.136 H 336.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#631255
RGBrgb(99, 18, 85)
HSLhsl(310, 69%, 23%)
HSVhsv(310, 82%, 39%)
CMYKcmyk(0%, 81.8%, 14.1%, 61.2%)
CIE-LABlab(22.80, 42.36, -20.05)
CIE-LCHlch(22.80, 46.87, 334.67°)
OKLaboklab(35.25% 0.1245 -0.0547)
OKLCHoklch(35.25% 0.136 336.3)
XYZxyz(7.0017, 3.7418, 8.9461)
Luminance0.0374 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631255 #126320
analogous
#481263 #631255 #63122D
triadic
#631255 #556312 #125563
tetradic
#631255 #634812 #126320 #122D63
square
#631255 #634812 #126320 #122D63
split-complementary
#631255 #2D6312 #126348
monochromatic
#1A0516 #2F0929 #631255 #971B81 #CB25AE

Accessibility & contrast

On white

12.01
#631255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631255
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631255#FFFFFF#000000##FFFFFF
##6312551.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#313B53
Tritanopia (blue-blind)
#691832
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #631255;
/* rgb */ color: rgb(99, 18, 85);
/* oklch */ color: oklch(35.3% 0.136 336.3);
Tailwind
colors: {
  custom: {
    50: '#935a85',
    500: '#631255',
    950: '#000000',
  },
}
SCSS
$custom: #631255;
$custom-light: #935a85;
$custom-dark: #000000;
JSON
{
  "hex": "#631255",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 310.37,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.35253,
    "c": 0.13597,
    "h": 336.3
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#631255
secondary
#369B47
accent
#EC5A3C
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #631255

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

Preview Lab → · Contrast checker → · Palette generator →

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