#250F40#250F40

#250F40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.089 H 300.1°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#250F40
RGBrgb(37, 15, 64)
HSLhsl(267, 62%, 15%)
HSVhsv(267, 77%, 25%)
CMYKcmyk(42.2%, 76.6%, 0%, 74.9%)
CIE-LABlab(9.84, 23.34, -26.90)
CIE-LCHlch(9.84, 35.62, 310.95°)
OKLaboklab(23.3% 0.0445 -0.0766)
OKLCHoklch(23.3% 0.089 300.1)
XYZxyz(1.8590, 1.1051, 4.9649)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F40 #2A400F
analogous
#0F1140 #250F40 #3D0F40
triadic
#250F40 #40250F #0F4025
tetradic
#250F40 #400F11 #2A400F #0F403D
square
#250F40 #400F11 #2A400F #0F403D
split-complementary
#250F40 #403D0F #11400F
monochromatic
#0E0619 #0E0619 #250F40 #421B72 #5E26A3

Accessibility & contrast

On white

17.20
#250F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F40
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F40#FFFFFF#000000##FFFFFF
##250F401.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#001B3F
Tritanopia (blue-blind)
#1F1A26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #250f40;
/* rgb */ color: rgb(37, 15, 64);
/* oklch */ color: oklch(23.3% 0.089 300.1);
Tailwind
colors: {
  custom: {
    50: '#624f75',
    500: '#250f40',
    950: '#000000',
  },
}
SCSS
$custom: #250f40;
$custom-light: #624f75;
$custom-dark: #000000;
JSON
{
  "hex": "#250f40",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 266.939,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23298,
    "c": 0.08861,
    "h": 300.1
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#250F40
secondary
#597A30
accent
#E5439C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #250F40

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

Preview Lab → · Contrast checker → · Palette generator →

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