#630E52#630E52

#630E52 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.8% C 0.138 H 338.1°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#630E52
RGBrgb(99, 14, 82)
HSLhsl(312, 75%, 22%)
HSVhsv(312, 86%, 39%)
CMYKcmyk(0%, 85.9%, 17.2%, 61.2%)
CIE-LABlab(22.22, 43.09, -18.95)
CIE-LCHlch(22.22, 47.07, 336.27°)
OKLaboklab(34.78% 0.1278 -0.0515)
OKLCHoklch(34.78% 0.138 338.1)
XYZxyz(6.8258, 3.5766, 8.3119)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#630E52 #0E631F
analogous
#4A0E63 #630E52 #630E28
triadic
#630E52 #52630E #0E5263
tetradic
#630E52 #634A0E #0E631F #0E2863
square
#630E52 #634A0E #0E631F #0E2863
split-complementary
#630E52 #28630E #0E634A
monochromatic
#1B0416 #2D0626 #630E52 #99167E #CE1DAB

Accessibility & contrast

On white

12.24
#630E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#630E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #630E52
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##630E52#FFFFFF#000000##FFFFFF
##630E521.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132D54
Deuteranopia (green-blind)
#313A50
Tritanopia (blue-blind)
#691430
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #630e52;
/* rgb */ color: rgb(99, 14, 82);
/* oklch */ color: oklch(34.8% 0.138 338.1);
Tailwind
colors: {
  custom: {
    50: '#935983',
    500: '#630e52',
    950: '#000000',
  },
}
SCSS
$custom: #630e52;
$custom-light: #935983;
$custom-dark: #000000;
JSON
{
  "hex": "#630e52",
  "rgb": {
    "r": 99,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 312,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34784,
    "c": 0.13779,
    "h": 338.1
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#630E52
secondary
#309C46
accent
#F25C36
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #630E52

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

Preview Lab → · Contrast checker → · Palette generator →

#630E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva