#251375#251375

#251375 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.153 H 279.8°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#251375
RGBrgb(37, 19, 117)
HSLhsl(251, 72%, 27%)
HSVhsv(251, 84%, 46%)
CMYKcmyk(68.4%, 83.8%, 0%, 54.1%)
CIE-LABlab(16.22, 37.97, -52.18)
CIE-LCHlch(16.22, 64.53, 306.04°)
OKLaboklab(29.48% 0.0261 -0.1506)
OKLCHoklch(29.48% 0.153 279.8)
XYZxyz(4.2057, 2.1431, 17.0182)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251375 #637513
analogous
#133275 #251375 #561375
triadic
#251375 #752513 #137525
tetradic
#251375 #751332 #637513 #137556
square
#251375 #751332 #637513 #137556
split-complementary
#251375 #755613 #327513
monochromatic
#08041A #140A40 #251375 #361CAA #4827DC

Accessibility & contrast

On white

14.70
#251375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251375
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251375#FFFFFF#000000##FFFFFF
##2513751.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #251375;
/* rgb */ color: rgb(37, 19, 117);
/* oklch */ color: oklch(29.5% 0.153 279.8);
Tailwind
colors: {
  custom: {
    50: '#6d549e',
    500: '#251375',
    950: '#000000',
  },
}
SCSS
$custom: #251375;
$custom-light: #6d549e;
$custom-dark: #000000;
JSON
{
  "hex": "#251375",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 251.02,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29482,
    "c": 0.1529,
    "h": 279.8
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#251375
secondary
#96AB38
accent
#EF39CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #251375

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

Preview Lab → · Contrast checker → · Palette generator →

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