#250C4F#250C4F

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

Color values

HEX#250C4F
RGBrgb(37, 12, 79)
HSLhsl(262, 74%, 18%)
HSVhsv(262, 85%, 31%)
CMYKcmyk(53.2%, 84.8%, 0%, 69%)
CIE-LABlab(10.71, 29.61, -35.97)
CIE-LCHlch(10.71, 46.59, 309.46°)
OKLaboklab(24.37% 0.044 -0.1032)
OKLCHoklch(24.37% 0.112 293.1)
XYZxyz(2.3053, 1.2207, 7.5098)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C4F #364F0C
analogous
#0C154F #250C4F #460C4F
triadic
#250C4F #4F250C #0C4F25
tetradic
#250C4F #4F0C15 #364F0C #0C4F46
square
#250C4F #4F0C15 #364F0C #0C4F46
split-complementary
#250C4F #4F460C #154F0C
monochromatic
#0C041B #0C041B #250C4F #3E1484 #571CB9

Accessibility & contrast

On white

16.88
#250C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#250C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250C4F
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C4F#FFFFFF#000000##FFFFFF
##250C4F1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#001C4E
Tritanopia (blue-blind)
#181F2D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #250c4f;
/* rgb */ color: rgb(37, 12, 79);
/* oklch */ color: oklch(24.4% 0.112 293.1);
Tailwind
colors: {
  custom: {
    50: '#654e81',
    500: '#250c4f',
    950: '#000000',
  },
}
SCSS
$custom: #250c4f;
$custom-light: #654e81;
$custom-dark: #000000;
JSON
{
  "hex": "#250c4f",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 262.388,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24368,
    "c": 0.11221,
    "h": 293.1
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#250C4F
secondary
#678B2C
accent
#F038AB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #250C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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