#251370#251370

#251370 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.147 H 280.9°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#251370
RGBrgb(37, 19, 112)
HSLhsl(252, 71%, 26%)
HSVhsv(252, 83%, 44%)
CMYKcmyk(67%, 83%, 0%, 56.1%)
CIE-LABlab(15.64, 36.38, -49.91)
CIE-LCHlch(15.64, 61.76, 306.09°)
OKLaboklab(28.9% 0.0277 -0.144)
OKLCHoklch(28.9% 0.147 280.9)
XYZxyz(3.9195, 2.0286, 15.5111)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251370 #5E7013
analogous
#132F70 #251370 #531370
triadic
#251370 #702513 #137025
tetradic
#251370 #70132F #5E7013 #137053
square
#251370 #70132F #5E7013 #137053
split-complementary
#251370 #705313 #2F7013
monochromatic
#09041A #140A3C #251370 #361CA4 #4825D9

Accessibility & contrast

On white

14.94
#251370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#251370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251370
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251370#FFFFFF#000000##FFFFFF
##2513701.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #251370;
/* rgb */ color: rgb(37, 19, 112);
/* oklch */ color: oklch(28.9% 0.147 280.9);
Tailwind
colors: {
  custom: {
    50: '#6b549a',
    500: '#251370',
    950: '#000000',
  },
}
SCSS
$custom: #251370;
$custom-light: #6b549a;
$custom-dark: #000000;
JSON
{
  "hex": "#251370",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 251.613,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28904,
    "c": 0.14668,
    "h": 280.9
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#251370
secondary
#91A738
accent
#EE3ACB
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251370

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

Preview Lab → · Contrast checker → · Palette generator →

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