#250F41#250F41

#250F41 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.090 H 299.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#250F41
RGBrgb(37, 15, 65)
HSLhsl(266, 63%, 16%)
HSVhsv(266, 77%, 25%)
CMYKcmyk(43.1%, 76.9%, 0%, 74.5%)
CIE-LABlab(9.93, 23.65, -27.47)
CIE-LCHlch(9.93, 36.25, 310.73°)
OKLaboklab(23.39% 0.0443 -0.0783)
OKLCHoklch(23.39% 0.09 299.5)
XYZxyz(1.8877, 1.1166, 5.1161)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F41 #2B410F
analogous
#0F1241 #250F41 #3E0F41
triadic
#250F41 #41250F #0F4125
tetradic
#250F41 #410F12 #2B410F #0F413E
square
#250F41 #410F12 #2B410F #0F413E
split-complementary
#250F41 #413E0F #12410F
monochromatic
#0E0619 #0E0619 #250F41 #411A73 #5E26A4

Accessibility & contrast

On white

17.17
#250F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#250F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F41
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F41#FFFFFF#000000##FFFFFF
##250F411.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#1F1B26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #250f41;
/* rgb */ color: rgb(37, 15, 65);
/* oklch */ color: oklch(23.4% 0.090 299.5);
Tailwind
colors: {
  custom: {
    50: '#634f76',
    500: '#250f41',
    950: '#000000',
  },
}
SCSS
$custom: #250f41;
$custom-light: #634f76;
$custom-dark: #000000;
JSON
{
  "hex": "#250f41",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 266.4,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2339,
    "c": 0.08997,
    "h": 299.5
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#250F41
secondary
#5A7B30
accent
#E6429E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #250F41

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

Preview Lab → · Contrast checker → · Palette generator →

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