#250F48#250F48

#250F48 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.099 H 295.6°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#250F48
RGBrgb(37, 15, 72)
HSLhsl(263, 66%, 17%)
HSVhsv(263, 79%, 28%)
CMYKcmyk(48.6%, 79.2%, 0%, 71.8%)
CIE-LABlab(10.58, 25.81, -31.33)
CIE-LCHlch(10.58, 40.59, 309.49°)
OKLaboklab(24.06% 0.0429 -0.0896)
OKLCHoklch(24.06% 0.099 295.6)
XYZxyz(2.1032, 1.2028, 6.2510)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F48 #32480F
analogous
#0F1648 #250F48 #420F48
triadic
#250F48 #48250F #0F4825
tetradic
#250F48 #480F16 #32480F #0F4842
square
#250F48 #480F16 #32480F #0F4842
split-complementary
#250F48 #48420F #16480F
monochromatic
#0D0519 #0D0519 #250F48 #3F1A7B #5924AD

Accessibility & contrast

On white

16.93
#250F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F48
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F48#FFFFFF#000000##FFFFFF
##250F481.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001C47
Tritanopia (blue-blind)
#1B1D2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #250f48;
/* rgb */ color: rgb(37, 15, 72);
/* oklch */ color: oklch(24.1% 0.099 295.6);
Tailwind
colors: {
  custom: {
    50: '#644f7b',
    500: '#250f48',
    950: '#000000',
  },
}
SCSS
$custom: #250f48;
$custom-light: #644f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#250f48",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 263.158,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24057,
    "c": 0.09939,
    "h": 295.6
  },
  "luminance": 0.01203
}

Semantic roles & 50–950 ramp

primary
#250F48
secondary
#638230
accent
#E83FA7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #250F48

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

Preview Lab → · Contrast checker → · Palette generator →

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