#251670#251670

#251670 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.144 H 280.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#251670
RGBrgb(37, 22, 112)
HSLhsl(250, 67%, 26%)
HSVhsv(250, 80%, 44%)
CMYKcmyk(67%, 80.4%, 0%, 56.1%)
CIE-LABlab(16.19, 34.79, -49.00)
CIE-LCHlch(16.19, 60.09, 305.38°)
OKLaboklab(29.29% 0.0259 -0.1414)
OKLCHoklch(29.29% 0.144 280.4)
XYZxyz(3.9736, 2.1367, 15.5291)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251670 #617016
analogous
#163470 #251670 #521670
triadic
#251670 #702516 #167025
tetradic
#251670 #701634 #617016 #167052
square
#251670 #701634 #617016 #167052
split-complementary
#251670 #705216 #347016
monochromatic
#08051A #140C3D #251670 #3620A3 #472BD5

Accessibility & contrast

On white

14.71
#251670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#251670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251670
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251670#FFFFFF#000000##FFFFFF
##2516701.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251670;
/* rgb */ color: rgb(37, 22, 112);
/* oklch */ color: oklch(29.3% 0.144 280.4);
Tailwind
colors: {
  custom: {
    50: '#6b569a',
    500: '#251670',
    950: '#000000',
  },
}
SCSS
$custom: #251670;
$custom-light: #6b569a;
$custom-dark: #000000;
JSON
{
  "hex": "#251670",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 250,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.2929,
    "c": 0.14377,
    "h": 280.4
  },
  "luminance": 0.02137
}

Semantic roles & 50–950 ramp

primary
#251670
secondary
#94A63C
accent
#EA3ECD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #251670

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

Preview Lab → · Contrast checker → · Palette generator →

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