#250C47#250C47

#250C47 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.102 H 297.1°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#250C47
RGBrgb(37, 12, 71)
HSLhsl(265, 71%, 16%)
HSVhsv(265, 83%, 28%)
CMYKcmyk(47.9%, 83.1%, 0%, 72.2%)
CIE-LABlab(9.89, 27.18, -31.76)
CIE-LCHlch(9.89, 41.81, 310.56°)
OKLaboklab(23.54% 0.0464 -0.0909)
OKLCHoklch(23.54% 0.102 297.1)
XYZxyz(2.0315, 1.1112, 6.0675)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C47 #2E470C
analogous
#0C1147 #250C47 #430C47
triadic
#250C47 #47250C #0C4725
tetradic
#250C47 #470C11 #2E470C #0C4743
square
#250C47 #470C11 #2E470C #0C4743
split-complementary
#250C47 #47430C #11470C
monochromatic
#0E041A #0E041A #250C47 #40157B #5C1EB0

Accessibility & contrast

On white

17.18
#250C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #250C47
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C47#FFFFFF#000000##FFFFFF
##250C471.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001A46
Tritanopia (blue-blind)
#1C1B29
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #250c47;
/* rgb */ color: rgb(37, 12, 71);
/* oklch */ color: oklch(23.5% 0.102 297.1);
Tailwind
colors: {
  custom: {
    50: '#644d7b',
    500: '#250c47',
    950: '#000000',
  },
}
SCSS
$custom: #250c47;
$custom-light: #644d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#250c47",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 265.424,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23537,
    "c": 0.10207,
    "h": 297.1
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#250C47
secondary
#5E832C
accent
#EE3AA2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #250C47

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

Preview Lab → · Contrast checker → · Palette generator →

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