#250440#250440

#250440 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.104 H 303.5°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#250440
RGBrgb(37, 4, 64)
HSLhsl(273, 88%, 13%)
HSVhsv(273, 94%, 25%)
CMYKcmyk(42.2%, 93.8%, 0%, 74.9%)
CIE-LABlab(7.68, 29.49, -30.42)
CIE-LCHlch(7.68, 42.37, 314.11°)
OKLaboklab(21.78% 0.0575 -0.0869)
OKLCHoklch(21.78% 0.104 303.5)
XYZxyz(1.7316, 0.8503, 4.9224)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250440 #1F4004
analogous
#070440 #250440 #40043D
triadic
#250440 #402504 #044025
tetradic
#250440 #400704 #1F4004 #043D40
square
#250440 #400704 #1F4004 #043D40
split-complementary
#250440 #3D4004 #044007
monochromatic
#11021D #11021D #250440 #46087A #680BB3

Accessibility & contrast

On white

17.95
#250440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#250440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250440
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250440#FFFFFF#000000##FFFFFF
##2504401.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001642
Deuteranopia (green-blind)
#00173F
Tritanopia (blue-blind)
#1F1523
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #250440;
/* rgb */ color: rgb(37, 4, 64);
/* oklch */ color: oklch(21.8% 0.104 303.5);
Tailwind
colors: {
  custom: {
    50: '#634975',
    500: '#250440',
    950: '#000000',
  },
}
SCSS
$custom: #250440;
$custom-light: #634975;
$custom-dark: #000000;
JSON
{
  "hex": "#250440",
  "rgb": {
    "r": 37,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 273,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21777,
    "c": 0.1042,
    "h": 303.5
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#250440
secondary
#4B811F
accent
#FE2989
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #250440

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

Preview Lab → · Contrast checker → · Palette generator →

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