#631268#631268

#631268 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.151 H 325.5°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#631268
RGBrgb(99, 18, 104)
HSLhsl(297, 70%, 24%)
HSVhsv(297, 83%, 41%)
CMYKcmyk(4.8%, 82.7%, 0%, 59.2%)
CIE-LABlab(23.95, 45.64, -30.77)
CIE-LCHlch(23.95, 55.04, 326.01°)
OKLaboklab(36.45% 0.1246 -0.0857)
OKLCHoklch(36.45% 0.151 325.5)
XYZxyz(7.8604, 4.0853, 13.4685)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631268 #176812
analogous
#381268 #631268 #681242
triadic
#631268 #686312 #126863
tetradic
#631268 #683812 #176812 #124268
square
#631268 #683812 #176812 #124268
split-complementary
#631268 #426812 #126838
monochromatic
#19051A #310934 #631268 #951B9C #C624D0

Accessibility & contrast

On white

11.56
#631268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#631268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631268
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631268#FFFFFF#000000##FFFFFF
##6312681.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#263C66
Tritanopia (blue-blind)
#65223D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #631268;
/* rgb */ color: rgb(99, 18, 104);
/* oklch */ color: oklch(36.4% 0.151 325.5);
Tailwind
colors: {
  custom: {
    50: '#935b93',
    500: '#631268',
    950: '#000000',
  },
}
SCSS
$custom: #631268;
$custom-light: #935b93;
$custom-dark: #000000;
JSON
{
  "hex": "#631268",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 296.512,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.36448,
    "c": 0.15124,
    "h": 325.5
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#631268
secondary
#3CA036
accent
#ED3B45
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #631268

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

Preview Lab → · Contrast checker → · Palette generator →

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