#250C48#250C48

#250C48 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.103 H 296.5°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#250C48
RGBrgb(37, 12, 72)
HSLhsl(265, 71%, 16%)
HSVhsv(265, 83%, 28%)
CMYKcmyk(48.6%, 83.3%, 0%, 71.8%)
CIE-LABlab(9.99, 27.49, -32.30)
CIE-LCHlch(9.99, 42.41, 310.40°)
OKLaboklab(23.64% 0.0461 -0.0925)
OKLCHoklch(23.64% 0.103 296.5)
XYZxyz(2.0638, 1.1241, 6.2379)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C48 #2F480C
analogous
#0C1148 #250C48 #430C48
triadic
#250C48 #48250C #0C4825
tetradic
#250C48 #480C11 #2F480C #0C4843
square
#250C48 #480C11 #2F480C #0C4843
split-complementary
#250C48 #48430C #11480C
monochromatic
#0D041A #0D041A #250C48 #40157C #5B1DB1

Accessibility & contrast

On white

17.15
#250C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#250C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250C48
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C48#FFFFFF#000000##FFFFFF
##250C481.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#1C1C29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #250c48;
/* rgb */ color: rgb(37, 12, 72);
/* oklch */ color: oklch(23.6% 0.103 296.5);
Tailwind
colors: {
  custom: {
    50: '#644e7c',
    500: '#250c48',
    950: '#000000',
  },
}
SCSS
$custom: #250c48;
$custom-light: #644e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#250c48",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 265,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23638,
    "c": 0.10335,
    "h": 296.5
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#250C48
secondary
#5F842C
accent
#EE3AA3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #250C48

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

Preview Lab → · Contrast checker → · Palette generator →

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