#250F4B#250F4B

#250F4B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.4% C 0.103 H 294.1°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#250F4B
RGBrgb(37, 15, 75)
HSLhsl(262, 67%, 18%)
HSVhsv(262, 80%, 29%)
CMYKcmyk(50.7%, 80%, 0%, 70.6%)
CIE-LABlab(10.87, 26.75, -32.94)
CIE-LCHlch(10.87, 42.43, 309.08°)
OKLaboklab(24.36% 0.0422 -0.0944)
OKLCHoklch(24.36% 0.103 294.1)
XYZxyz(2.2034, 1.2429, 6.7791)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F4B #354B0F
analogous
#0F174B #250F4B #430F4B
triadic
#250F4B #4B250F #0F4B25
tetradic
#250F4B #4B0F17 #354B0F #0F4B43
square
#250F4B #4B0F17 #354B0F #0F4B43
split-complementary
#250F4B #4B430F #174B0F
monochromatic
#0D051A #0D051A #250F4B #3E197E #5723B1

Accessibility & contrast

On white

16.82
#250F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#250F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250F4B
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F4B#FFFFFF#000000##FFFFFF
##250F4B1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#1A1F2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #250f4b;
/* rgb */ color: rgb(37, 15, 75);
/* oklch */ color: oklch(24.4% 0.103 294.1);
Tailwind
colors: {
  custom: {
    50: '#644f7e',
    500: '#250f4b',
    950: '#000000',
  },
}
SCSS
$custom: #250f4b;
$custom-light: #644f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#250f4b",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 262,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24355,
    "c": 0.10338,
    "h": 294.1
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#250F4B
secondary
#668530
accent
#EA3EAB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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