#631175#631175

#631175 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.3% C 0.163 H 319.3°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#631175
RGBrgb(99, 17, 117)
HSLhsl(289, 75%, 26%)
HSVhsv(289, 85%, 46%)
CMYKcmyk(15.4%, 85.5%, 0%, 54.1%)
CIE-LABlab(24.76, 48.40, -37.87)
CIE-LCHlch(24.76, 61.45, 321.96°)
OKLaboklab(37.31% 0.1237 -0.1065)
OKLCHoklch(37.31% 0.163 319.3)
XYZxyz(8.5565, 4.3383, 17.2129)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631175 #237511
analogous
#311175 #631175 #751155
triadic
#631175 #756311 #117563
tetradic
#631175 #753111 #237511 #115575
square
#631175 #753111 #237511 #115575
split-complementary
#631175 #557511 #117531
monochromatic
#17041B #360940 #631175 #9019AA #BD22DF

Accessibility & contrast

On white

11.24
#631175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#631175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631175
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631175#FFFFFF#000000##FFFFFF
##6311751.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631175;
/* rgb */ color: rgb(99, 17, 117);
/* oklch */ color: oklch(37.3% 0.163 319.3);
Tailwind
colors: {
  custom: {
    50: '#935c9d',
    500: '#631175',
    950: '#000000',
  },
}
SCSS
$custom: #631175;
$custom-light: #935c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#631175",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 289.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37309,
    "c": 0.16325,
    "h": 319.3
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#631175
secondary
#4BAC36
accent
#F13758
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #631175

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

Preview Lab → · Contrast checker → · Palette generator →

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