#251570#251570

#251570 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.145 H 280.6°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#251570
RGBrgb(37, 21, 112)
HSLhsl(251, 68%, 26%)
HSVhsv(251, 81%, 44%)
CMYKcmyk(67%, 81.2%, 0%, 56.1%)
CIE-LABlab(16.00, 35.33, -49.31)
CIE-LCHlch(16.00, 60.66, 305.62°)
OKLaboklab(29.16% 0.0265 -0.1423)
OKLCHoklch(29.16% 0.145 280.6)
XYZxyz(3.9548, 2.0992, 15.5229)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251570 #607015
analogous
#153270 #251570 #521570
triadic
#251570 #702515 #157025
tetradic
#251570 #701532 #607015 #157052
square
#251570 #701532 #607015 #157052
split-complementary
#251570 #705215 #327015
monochromatic
#09051A #140B3C #251570 #361FA4 #4729D7

Accessibility & contrast

On white

14.79
#251570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#251570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251570
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251570#FFFFFF#000000##FFFFFF
##2515701.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #251570;
/* rgb */ color: rgb(37, 21, 112);
/* oklch */ color: oklch(29.2% 0.145 280.6);
Tailwind
colors: {
  custom: {
    50: '#6b559a',
    500: '#251570',
    950: '#000000',
  },
}
SCSS
$custom: #251570;
$custom-light: #6b559a;
$custom-dark: #000000;
JSON
{
  "hex": "#251570",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 250.549,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29157,
    "c": 0.14476,
    "h": 280.6
  },
  "luminance": 0.02099
}

Semantic roles & 50–950 ramp

primary
#251570
secondary
#93A63B
accent
#EB3DCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251570

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

Preview Lab → · Contrast checker → · Palette generator →

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