#251763#251763

#251763 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.126 H 283.1°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#251763
RGBrgb(37, 23, 99)
HSLhsl(251, 62%, 24%)
HSVhsv(251, 77%, 39%)
CMYKcmyk(62.6%, 76.8%, 0%, 61.2%)
CIE-LABlab(14.99, 29.88, -42.45)
CIE-LCHlch(14.99, 51.91, 305.14°)
OKLaboklab(28.02% 0.0286 -0.1223)
OKLCHoklch(28.02% 0.126 283.1)
XYZxyz(3.3208, 1.9067, 11.9950)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251763 #556317
analogous
#172F63 #251763 #4B1763
triadic
#251763 #632517 #176325
tetradic
#251763 #63172F #556317 #17634B
square
#251763 #63172F #556317 #17634B
split-complementary
#251763 #634B17 #2F6317
monochromatic
#090619 #120B31 #251763 #382395 #4A2EC6

Accessibility & contrast

On white

15.20
#251763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#251763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251763
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251763#FFFFFF#000000##FFFFFF
##2517631.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#012C3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #251763;
/* rgb */ color: rgb(37, 23, 99);
/* oklch */ color: oklch(28.0% 0.126 283.1);
Tailwind
colors: {
  custom: {
    50: '#685690',
    500: '#251763',
    950: '#000000',
  },
}
SCSS
$custom: #251763;
$custom-light: #685690;
$custom-dark: #000000;
JSON
{
  "hex": "#251763",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 251.053,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28022,
    "c": 0.12558,
    "h": 283.1
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#251763
secondary
#889A3C
accent
#E542C7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #251763

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

Preview Lab → · Contrast checker → · Palette generator →

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