#25043F#25043F

#25043F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.7% C 0.103 H 304.2°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#25043F
RGBrgb(37, 4, 63)
HSLhsl(274, 88%, 13%)
HSVhsv(274, 94%, 25%)
CMYKcmyk(41.3%, 93.7%, 0%, 75.3%)
CIE-LABlab(7.58, 29.21, -29.87)
CIE-LCHlch(7.58, 41.78, 314.36°)
OKLaboklab(21.67% 0.0579 -0.0853)
OKLCHoklch(21.67% 0.103 304.2)
XYZxyz(1.7034, 0.8390, 4.7739)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25043F #1E3F04
analogous
#07043F #25043F #3F043B
triadic
#25043F #3F2504 #043F25
tetradic
#25043F #3F0704 #1E3F04 #043B3F
square
#25043F #3F0704 #1E3F04 #043B3F
split-complementary
#25043F #3B3F04 #043F07
monochromatic
#11021D #11021D #25043F #470879 #690BB2

Accessibility & contrast

On white

17.98
#25043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#25043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25043F
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25043F#FFFFFF#000000##FFFFFF
##25043F1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#201422
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #25043f;
/* rgb */ color: rgb(37, 4, 63);
/* oklch */ color: oklch(21.7% 0.103 304.2);
Tailwind
colors: {
  custom: {
    50: '#634975',
    500: '#25043f',
    950: '#000000',
  },
}
SCSS
$custom: #25043f;
$custom-light: #634975;
$custom-dark: #000000;
JSON
{
  "hex": "#25043f",
  "rgb": {
    "r": 37,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 273.559,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21672,
    "c": 0.1031,
    "h": 304.2
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#25043F
secondary
#4A801E
accent
#FE2A87
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #25043F

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

Preview Lab → · Contrast checker → · Palette generator →

#25043F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva