#250F45#250F45

#250F45 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.095 H 297.2°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#250F45
RGBrgb(37, 15, 69)
HSLhsl(264, 64%, 16%)
HSVhsv(264, 78%, 27%)
CMYKcmyk(46.4%, 78.3%, 0%, 72.9%)
CIE-LABlab(10.29, 24.88, -29.69)
CIE-LCHlch(10.29, 38.74, 309.96°)
OKLaboklab(23.77% 0.0436 -0.0848)
OKLCHoklch(23.77% 0.095 297.2)
XYZxyz(2.0077, 1.1646, 5.7481)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F45 #2F450F
analogous
#0F1445 #250F45 #400F45
triadic
#250F45 #45250F #0F4525
tetradic
#250F45 #450F14 #2F450F #0F4540
square
#250F45 #450F14 #2F450F #0F4540
split-complementary
#250F45 #45400F #14450F
monochromatic
#0D0519 #0D0519 #250F45 #401A77 #5B25AA

Accessibility & contrast

On white

17.03
#250F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#250F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F45
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F45#FFFFFF#000000##FFFFFF
##250F451.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#1D1C28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #250f45;
/* rgb */ color: rgb(37, 15, 69);
/* oklch */ color: oklch(23.8% 0.095 297.2);
Tailwind
colors: {
  custom: {
    50: '#634f79',
    500: '#250f45',
    950: '#000000',
  },
}
SCSS
$custom: #250f45;
$custom-light: #634f79;
$custom-dark: #000000;
JSON
{
  "hex": "#250f45",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 264.444,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23766,
    "c": 0.09538,
    "h": 297.2
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#250F45
secondary
#5F7F30
accent
#E741A3
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #250F45

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

Preview Lab → · Contrast checker → · Palette generator →

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