#250F47#250F47

#250F47 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.098 H 296.1°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#250F47
RGBrgb(37, 15, 71)
HSLhsl(264, 65%, 17%)
HSVhsv(264, 79%, 28%)
CMYKcmyk(47.9%, 78.9%, 0%, 72.2%)
CIE-LABlab(10.48, 25.50, -30.79)
CIE-LCHlch(10.48, 39.98, 309.64°)
OKLaboklab(23.96% 0.0432 -0.088)
OKLCHoklch(23.96% 0.098 296.1)
XYZxyz(2.0708, 1.1898, 6.0806)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F47 #31470F
analogous
#0F1547 #250F47 #410F47
triadic
#250F47 #47250F #0F4725
tetradic
#250F47 #470F15 #31470F #0F4741
square
#250F47 #470F15 #31470F #0F4741
split-complementary
#250F47 #47410F #15470F
monochromatic
#0D0519 #0D0519 #250F47 #3F1A7A #5A24AC

Accessibility & contrast

On white

16.96
#250F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#250F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F47
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F47#FFFFFF#000000##FFFFFF
##250F471.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#1C1D29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #250f47;
/* rgb */ color: rgb(37, 15, 71);
/* oklch */ color: oklch(24.0% 0.098 296.1);
Tailwind
colors: {
  custom: {
    50: '#634f7b',
    500: '#250f47',
    950: '#000000',
  },
}
SCSS
$custom: #250f47;
$custom-light: #634f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#250f47",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 263.571,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2396,
    "c": 0.09805,
    "h": 296.1
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#250F47
secondary
#628130
accent
#E840A6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #250F47

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

Preview Lab → · Contrast checker → · Palette generator →

#250F47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva