#251070#251070

#251070 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.6% C 0.149 H 281.4°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#251070
RGBrgb(37, 16, 112)
HSLhsl(253, 75%, 25%)
HSVhsv(253, 86%, 44%)
CMYKcmyk(67%, 85.7%, 0%, 56.1%)
CIE-LABlab(15.13, 37.84, -50.74)
CIE-LCHlch(15.13, 63.30, 306.72°)
OKLaboklab(28.56% 0.0294 -0.1464)
OKLCHoklch(28.56% 0.149 281.4)
XYZxyz(3.8719, 1.9335, 15.4952)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251070 #5B7010
analogous
#102B70 #251070 #551070
triadic
#251070 #702510 #107025
tetradic
#251070 #70102B #5B7010 #107055
square
#251070 #70102B #5B7010 #107055
split-complementary
#251070 #705510 #2B7010
monochromatic
#09041B #13083A #251070 #3718A6 #481FDB

Accessibility & contrast

On white

15.14
#251070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#251070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251070
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251070#FFFFFF#000000##FFFFFF
##2510701.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #251070;
/* rgb */ color: rgb(37, 16, 112);
/* oklch */ color: oklch(28.6% 0.149 281.4);
Tailwind
colors: {
  custom: {
    50: '#6c529a',
    500: '#251070',
    950: '#000000',
  },
}
SCSS
$custom: #251070;
$custom-light: #6c529a;
$custom-dark: #000000;
JSON
{
  "hex": "#251070",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 253.125,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28557,
    "c": 0.14933,
    "h": 281.4
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#251070
secondary
#8EA834
accent
#F236C9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #251070

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

Preview Lab → · Contrast checker → · Palette generator →

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