#250D47#250D47

#250D47 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.101 H 296.8°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#250D47
RGBrgb(37, 13, 71)
HSLhsl(265, 69%, 16%)
HSVhsv(265, 82%, 28%)
CMYKcmyk(47.9%, 81.7%, 0%, 72.2%)
CIE-LABlab(10.08, 26.64, -31.45)
CIE-LCHlch(10.08, 41.21, 310.27°)
OKLaboklab(23.67% 0.0454 -0.09)
OKLCHoklch(23.67% 0.101 296.8)
XYZxyz(2.0439, 1.1361, 6.0716)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250D47 #2F470D
analogous
#0D1247 #250D47 #420D47
triadic
#250D47 #47250D #0D4725
tetradic
#250D47 #470D12 #2F470D #0D4742
square
#250D47 #470D12 #2F470D #0D4742
split-complementary
#250D47 #47420D #12470D
monochromatic
#0D051A #0D051A #250D47 #40167B #5B20AE

Accessibility & contrast

On white

17.11
#250D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#250D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250D47
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250D47#FFFFFF#000000##FFFFFF
##250D471.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#1C1C29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #250d47;
/* rgb */ color: rgb(37, 13, 71);
/* oklch */ color: oklch(23.7% 0.101 296.8);
Tailwind
colors: {
  custom: {
    50: '#644e7b',
    500: '#250d47',
    950: '#000000',
  },
}
SCSS
$custom: #250d47;
$custom-light: #644e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#250d47",
  "rgb": {
    "r": 37,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 264.828,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23672,
    "c": 0.10078,
    "h": 296.8
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#250D47
secondary
#5F822D
accent
#EC3CA3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #250D47

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

Preview Lab → · Contrast checker → · Palette generator →

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