#631074#631074

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

Color values

HEX#631074
RGBrgb(99, 16, 116)
HSLhsl(290, 76%, 26%)
HSVhsv(290, 86%, 45%)
CMYKcmyk(14.7%, 86.2%, 0%, 54.5%)
CIE-LABlab(24.59, 48.49, -37.50)
CIE-LCHlch(24.59, 61.29, 322.28°)
OKLaboklab(37.17% 0.1246 -0.1054)
OKLCHoklch(37.17% 0.163 319.8)
XYZxyz(8.4829, 4.2846, 16.8998)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631074 #217410
analogous
#311074 #631074 #741053
triadic
#631074 #746310 #107463
tetradic
#631074 #743110 #217410 #105374
square
#631074 #743110 #217410 #105374
split-complementary
#631074 #537410 #107431
monochromatic
#17041B #35093E #631074 #9117AA #BF1FE0

Accessibility & contrast

On white

11.31
#631074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #631074
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631074#FFFFFF#000000##FFFFFF
##6310741.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #631074;
/* rgb */ color: rgb(99, 16, 116);
/* oklch */ color: oklch(37.2% 0.163 319.8);
Tailwind
colors: {
  custom: {
    50: '#935b9d',
    500: '#631074',
    950: '#000000',
  },
}
SCSS
$custom: #631074;
$custom-light: #935b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#631074",
  "rgb": {
    "r": 99,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 289.8,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.37167,
    "c": 0.16324,
    "h": 319.8
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#631074
secondary
#49AB35
accent
#F23556
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #631074

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

Preview Lab → · Contrast checker → · Palette generator →

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