#631174#631174

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

Color values

HEX#631174
RGBrgb(99, 17, 116)
HSLhsl(290, 74%, 26%)
HSVhsv(290, 85%, 45%)
CMYKcmyk(14.7%, 85.3%, 0%, 54.5%)
CIE-LABlab(24.69, 48.21, -37.34)
CIE-LCHlch(24.69, 60.98, 322.24°)
OKLaboklab(37.23% 0.1239 -0.105)
OKLCHoklch(37.23% 0.162 319.7)
XYZxyz(8.4980, 4.3149, 16.9049)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631174 #227411
analogous
#311174 #631174 #741153
triadic
#631174 #746311 #117463
tetradic
#631174 #743111 #227411 #115374
square
#631174 #743111 #227411 #115374
split-complementary
#631174 #537411 #117431
monochromatic
#17041B #35093F #631174 #9119A9 #BE21DE

Accessibility & contrast

On white

11.27
#631174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631174
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631174#FFFFFF#000000##FFFFFF
##6311741.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#1B3D72
Tritanopia (blue-blind)
#632844
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #631174;
/* rgb */ color: rgb(99, 17, 116);
/* oklch */ color: oklch(37.2% 0.162 319.7);
Tailwind
colors: {
  custom: {
    50: '#935c9d',
    500: '#631174',
    950: '#000000',
  },
}
SCSS
$custom: #631174;
$custom-light: #935c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#631174",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 289.697,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37234,
    "c": 0.16239,
    "h": 319.7
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

primary
#631174
secondary
#4AAB36
accent
#F13757
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #631174

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

Preview Lab → · Contrast checker → · Palette generator →

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