#250F4A#250F4A

#250F4A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.102 H 294.6°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#250F4A
RGBrgb(37, 15, 74)
HSLhsl(262, 66%, 17%)
HSVhsv(262, 80%, 29%)
CMYKcmyk(50%, 79.7%, 0%, 71%)
CIE-LABlab(10.77, 26.44, -32.41)
CIE-LCHlch(10.77, 41.82, 309.21°)
OKLaboklab(24.26% 0.0424 -0.0928)
OKLCHoklch(24.26% 0.102 294.6)
XYZxyz(2.1695, 1.2293, 6.6002)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250F4A #344A0F
analogous
#0F164A #250F4A #430F4A
triadic
#250F4A #4A250F #0F4A25
tetradic
#250F4A #4A0F16 #344A0F #0F4A43
square
#250F4A #4A0F16 #344A0F #0F4A43
split-complementary
#250F4A #4A430F #164A0F
monochromatic
#0D0519 #0D0519 #250F4A #3E197D #5824B0

Accessibility & contrast

On white

16.86
#250F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250F4A
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250F4A#FFFFFF#000000##FFFFFF
##250F4A1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#1A1E2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #250f4a;
/* rgb */ color: rgb(37, 15, 74);
/* oklch */ color: oklch(24.3% 0.102 294.6);
Tailwind
colors: {
  custom: {
    50: '#644f7d',
    500: '#250f4a',
    950: '#000000',
  },
}
SCSS
$custom: #250f4a;
$custom-light: #644f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#250f4a",
  "rgb": {
    "r": 37,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 262.373,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24255,
    "c": 0.10205,
    "h": 294.6
  },
  "luminance": 0.01229
}

Semantic roles & 50–950 ramp

primary
#250F4A
secondary
#658430
accent
#E93FAA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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