#631BB4#631BB4

#631BB4 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.4% C 0.214 H 297.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#631BB4
RGBrgb(99, 27, 180)
HSLhsl(268, 74%, 41%)
HSVhsv(268, 85%, 71%)
CMYKcmyk(45%, 85%, 0%, 29.4%)
CIE-LABlab(31.19, 59.23, -66.22)
CIE-LCHlch(31.19, 88.84, 311.81°)
OKLaboklab(43.43% 0.0983 -0.1898)
OKLCHoklch(43.43% 0.214 297.4)
XYZxyz(13.7736, 6.7315, 43.7448)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631BB4 #6CB41B
analogous
#1B20B4 #631BB4 #AF1BB4
triadic
#631BB4 #B4631B #1BB463
tetradic
#631BB4 #B41B20 #6CB41B #1BB4AF
square
#631BB4 #B41B20 #6CB41B #1BB4AF
split-complementary
#631BB4 #B4AF1B #20B41B
monochromatic
#280B4A #46137F #631BB4 #812DDF #A162E7

Accessibility & contrast

On white

8.95
#631BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#631BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631BB4
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631BB4#FFFFFF#000000##FFFFFF
##631BB41.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#4D4A6B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #631bb4;
/* rgb */ color: rgb(99, 27, 180);
/* oklch */ color: oklch(43.4% 0.214 297.4);
Tailwind
colors: {
  custom: {
    50: '#9863cc',
    500: '#631bb4',
    950: '#000000',
  },
}
SCSS
$custom: #631bb4;
$custom-light: #9863cc;
$custom-dark: #000000;
JSON
{
  "hex": "#631bb4",
  "rgb": {
    "r": 99,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 268.235,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43432,
    "c": 0.21373,
    "h": 297.4
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#631BB4
secondary
#99CC5F
accent
#F13799
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #631BB4

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

Preview Lab → · Contrast checker → · Palette generator →

#631BB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva