#631267#631267

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

Color values

HEX#631267
RGBrgb(99, 18, 103)
HSLhsl(297, 70%, 24%)
HSVhsv(297, 83%, 40%)
CMYKcmyk(3.9%, 82.5%, 0%, 59.6%)
CIE-LABlab(23.89, 45.45, -30.22)
CIE-LCHlch(23.89, 54.58, 326.38°)
OKLaboklab(36.38% 0.1247 -0.0841)
OKLCHoklch(36.38% 0.15 326)
XYZxyz(7.8099, 4.0651, 13.2026)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631267 #166712
analogous
#381267 #631267 #671240
triadic
#631267 #676312 #126763
tetradic
#631267 #673812 #166712 #124067
square
#631267 #673812 #166712 #124067
split-complementary
#631267 #406712 #126738
monochromatic
#19051A #310933 #631267 #951B9B #C724CF

Accessibility & contrast

On white

11.58
#631267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#631267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631267
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631267#FFFFFF#000000##FFFFFF
##6312671.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#273C65
Tritanopia (blue-blind)
#66223D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #631267;
/* rgb */ color: rgb(99, 18, 103);
/* oklch */ color: oklch(36.4% 0.150 326.0);
Tailwind
colors: {
  custom: {
    50: '#935b93',
    500: '#631267',
    950: '#000000',
  },
}
SCSS
$custom: #631267;
$custom-light: #935b93;
$custom-dark: #000000;
JSON
{
  "hex": "#631267",
  "rgb": {
    "r": 99,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 297.176,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3638,
    "c": 0.15041,
    "h": 326
  },
  "luminance": 0.04065
}

Semantic roles & 50–950 ramp

primary
#631267
secondary
#3B9F36
accent
#ED3B43
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #631267

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

Preview Lab → · Contrast checker → · Palette generator →

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