#251377#251377

#251377 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.155 H 279.4°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#251377
RGBrgb(37, 19, 119)
HSLhsl(251, 72%, 27%)
HSVhsv(251, 84%, 47%)
CMYKcmyk(68.9%, 84%, 0%, 53.3%)
CIE-LABlab(16.46, 38.60, -53.08)
CIE-LCHlch(16.46, 65.63, 306.02°)
OKLaboklab(29.72% 0.0255 -0.1533)
OKLCHoklch(29.72% 0.155 279.4)
XYZxyz(4.3245, 2.1906, 17.6441)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251377 #657713
analogous
#133377 #251377 #571377
triadic
#251377 #772513 #137725
tetradic
#251377 #771333 #657713 #137757
square
#251377 #771333 #657713 #137757
split-complementary
#251377 #775713 #337713
monochromatic
#08041A #150B42 #251377 #351BAC #4828DD

Accessibility & contrast

On white

14.60
#251377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#251377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251377
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251377#FFFFFF#000000##FFFFFF
##2513771.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #251377;
/* rgb */ color: rgb(37, 19, 119);
/* oklch */ color: oklch(29.7% 0.155 279.4);
Tailwind
colors: {
  custom: {
    50: '#6d559f',
    500: '#251377',
    950: '#000000',
  },
}
SCSS
$custom: #251377;
$custom-light: #6d559f;
$custom-dark: #000000;
JSON
{
  "hex": "#251377",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 119
  },
  "hsl": {
    "h": 250.8,
    "s": 72.464,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29716,
    "c": 0.15536,
    "h": 279.4
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#251377
secondary
#98AD39
accent
#EF39CE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #251377

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

Preview Lab → · Contrast checker → · Palette generator →

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