#250F4D#250F4D

#250F4D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.106 H 293.1°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#250F4D
RGBrgb(37, 15, 77)
HSLhsl(261, 67%, 18%)
HSVhsv(261, 81%, 30%)
CMYKcmyk(51.9%, 80.5%, 0%, 69.8%)
CIE-LABlab(11.07, 27.38, -34.00)
CIE-LCHlch(11.07, 43.65, 308.84°)
OKLaboklab(24.56% 0.0417 -0.0975)
OKLCHoklch(24.56% 0.106 293.1)
XYZxyz(2.2730, 1.2707, 7.1453)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F4D #374D0F
analogous
#0F184D #250F4D #440F4D
triadic
#250F4D #4D250F #0F4D25
tetradic
#250F4D #4D0F18 #374D0F #0F4D44
square
#250F4D #4D0F18 #374D0F #0F4D44
split-complementary
#250F4D #4D440F #184D0F
monochromatic
#0C051A #0C051A #250F4D #3E1980 #5623B3

Accessibility & contrast

On white

16.74
#250F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F4D
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F4D#FFFFFF#000000##FFFFFF
##250F4D1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#191F2D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #250f4d;
/* rgb */ color: rgb(37, 15, 77);
/* oklch */ color: oklch(24.6% 0.106 293.1);
Tailwind
colors: {
  custom: {
    50: '#64507f',
    500: '#250f4d',
    950: '#000000',
  },
}
SCSS
$custom: #250f4d;
$custom-light: #64507f;
$custom-dark: #000000;
JSON
{
  "hex": "#250f4d",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 261.29,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24557,
    "c": 0.10602,
    "h": 293.1
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#250F4D
secondary
#688731
accent
#EA3EAD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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