#251353#251353

#251353 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.109 H 289.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#251353
RGBrgb(37, 19, 83)
HSLhsl(257, 63%, 20%)
HSVhsv(257, 77%, 33%)
CMYKcmyk(55.4%, 77.1%, 0%, 67.5%)
CIE-LABlab(12.50, 26.96, -35.77)
CIE-LCHlch(12.50, 44.79, 307.00°)
OKLaboklab(25.76% 0.0361 -0.1027)
OKLCHoklch(25.76% 0.109 289.3)
XYZxyz(2.5567, 1.4835, 8.3336)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251353 #415313
analogous
#132153 #251353 #451353
triadic
#251353 #532513 #135325
tetradic
#251353 #531321 #415313 #135345
square
#251353 #531321 #415313 #135345
split-complementary
#251353 #534513 #215313
monochromatic
#0B0619 #0F0821 #251353 #3B1E85 #512AB7

Accessibility & contrast

On white

16.19
#251353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#251353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251353
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251353#FFFFFF#000000##FFFFFF
##2513531.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#152431
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #251353;
/* rgb */ color: rgb(37, 19, 83);
/* oklch */ color: oklch(25.8% 0.109 289.3);
Tailwind
colors: {
  custom: {
    50: '#655284',
    500: '#251353',
    950: '#000000',
  },
}
SCSS
$custom: #251353;
$custom-light: #655284;
$custom-dark: #000000;
JSON
{
  "hex": "#251353",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 256.875,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.25758,
    "c": 0.10885,
    "h": 289.3
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#251353
secondary
#748B36
accent
#E642B8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #251353

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

Preview Lab → · Contrast checker → · Palette generator →

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