#250F4E#250F4E

#250F4E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.107 H 292.7°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#250F4E
RGBrgb(37, 15, 78)
HSLhsl(261, 68%, 18%)
HSVhsv(261, 81%, 31%)
CMYKcmyk(52.6%, 80.8%, 0%, 69.4%)
CIE-LABlab(11.17, 27.69, -34.53)
CIE-LCHlch(11.17, 44.26, 308.73°)
OKLaboklab(24.66% 0.0414 -0.099)
OKLCHoklch(24.66% 0.107 292.7)
XYZxyz(2.3085, 1.2849, 7.3326)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F4E #384E0F
analogous
#0F184E #250F4E #440F4E
triadic
#250F4E #4E250F #0F4E25
tetradic
#250F4E #4E0F18 #384E0F #0F4E44
square
#250F4E #4E0F18 #384E0F #0F4E44
split-complementary
#250F4E #4E440F #184E0F
monochromatic
#0C051A #0D051B #250F4E #3D1981 #5623B5

Accessibility & contrast

On white

16.71
#250F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#250F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F4E
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F4E#FFFFFF#000000##FFFFFF
##250F4E1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#18202D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #250f4e;
/* rgb */ color: rgb(37, 15, 78);
/* oklch */ color: oklch(24.7% 0.107 292.7);
Tailwind
colors: {
  custom: {
    50: '#655080',
    500: '#250f4e',
    950: '#000000',
  },
}
SCSS
$custom: #250f4e;
$custom-light: #655080;
$custom-dark: #000000;
JSON
{
  "hex": "#250f4e",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 260.952,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24659,
    "c": 0.10734,
    "h": 292.7
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#250F4E
secondary
#6A8831
accent
#EB3DAE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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