#631273#631273

#631273 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.2% C 0.161 H 320.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#631273
RGBrgb(99, 18, 115)
HSLhsl(290, 73%, 26%)
HSVhsv(290, 84%, 45%)
CMYKcmyk(13.9%, 84.3%, 0%, 54.9%)
CIE-LABlab(24.71, 47.72, -36.66)
CIE-LCHlch(24.71, 60.18, 322.47°)
OKLaboklab(37.23% 0.1233 -0.103)
OKLCHoklch(37.23% 0.161 320.1)
XYZxyz(8.4560, 4.3235, 16.6054)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631273 #227312
analogous
#321273 #631273 #731252
triadic
#631273 #736312 #127363
tetradic
#631273 #733212 #227312 #125273
square
#631273 #733212 #227312 #125273
split-complementary
#631273 #527312 #127332
monochromatic
#17041A #350A3E #631273 #911AA8 #BE23DD

Accessibility & contrast

On white

11.26
#631273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#631273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631273
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631273#FFFFFF#000000##FFFFFF
##6312731.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#1D3D71
Tritanopia (blue-blind)
#632843
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #631273;
/* rgb */ color: rgb(99, 18, 115);
/* oklch */ color: oklch(37.2% 0.161 320.1);
Tailwind
colors: {
  custom: {
    50: '#935c9c',
    500: '#631273',
    950: '#000000',
  },
}
SCSS
$custom: #631273;
$custom-light: #935c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#631273",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 290.103,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3723,
    "c": 0.16064,
    "h": 320.1
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#631273
secondary
#4AAA37
accent
#F03856
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #631273

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

Preview Lab → · Contrast checker → · Palette generator →

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