#251263#251263

#251263 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.131 H 284.4°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#251263
RGBrgb(37, 18, 99)
HSLhsl(254, 69%, 23%)
HSVhsv(254, 82%, 39%)
CMYKcmyk(62.6%, 81.8%, 0%, 61.2%)
CIE-LABlab(13.98, 32.73, -44.10)
CIE-LCHlch(13.98, 54.92, 306.58°)
OKLaboklab(27.31% 0.0325 -0.1271)
OKLCHoklch(27.31% 0.131 284.4)
XYZxyz(3.2307, 1.7266, 11.9650)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251263 #506312
analogous
#122763 #251263 #4D1263
triadic
#251263 #632512 #126325
tetradic
#251263 #631227 #506312 #12634D
square
#251263 #631227 #506312 #12634D
split-complementary
#251263 #634D12 #276312
monochromatic
#0A051A #12092F #251263 #381B97 #4C25CB

Accessibility & contrast

On white

15.61
#251263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#251263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251263
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251263#FFFFFF#000000##FFFFFF
##2512631.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002665
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#02293A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251263;
/* rgb */ color: rgb(37, 18, 99);
/* oklch */ color: oklch(27.3% 0.131 284.4);
Tailwind
colors: {
  custom: {
    50: '#695390',
    500: '#251263',
    950: '#000000',
  },
}
SCSS
$custom: #251263;
$custom-light: #695390;
$custom-dark: #000000;
JSON
{
  "hex": "#251263",
  "rgb": {
    "r": 37,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 254.074,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27311,
    "c": 0.13119,
    "h": 284.4
  },
  "luminance": 0.01727
}

Semantic roles & 50–950 ramp

primary
#251263
secondary
#839B36
accent
#EC3CC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #251263

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

Preview Lab → · Contrast checker → · Palette generator →

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