#25043C#25043C

#25043C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.100 H 306.3°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#25043C
RGBrgb(37, 4, 60)
HSLhsl(275, 88%, 13%)
HSVhsv(275, 93%, 24%)
CMYKcmyk(38.3%, 93.3%, 0%, 76.5%)
CIE-LABlab(7.28, 28.36, -28.20)
CIE-LCHlch(7.28, 39.99, 315.17°)
OKLaboklab(21.36% 0.0591 -0.0804)
OKLCHoklch(21.36% 0.1 306.3)
XYZxyz(1.6218, 0.8064, 4.3443)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25043C #1B3C04
analogous
#09043C #25043C #3C0437
triadic
#25043C #3C2504 #043C25
tetradic
#25043C #3C0904 #1B3C04 #04373C
square
#25043C #3C0904 #1B3C04 #04373C
split-complementary
#25043C #373C04 #043C09
monochromatic
#12021D #12021D #25043C #480875 #6C0CAF

Accessibility & contrast

On white

18.08
#25043C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#25043C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25043C
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25043C#FFFFFF#000000##FFFFFF
##25043C1.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#211320
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #25043c;
/* rgb */ color: rgb(37, 4, 60);
/* oklch */ color: oklch(21.4% 0.100 306.3);
Tailwind
colors: {
  custom: {
    50: '#634872',
    500: '#25043c',
    950: '#000000',
  },
}
SCSS
$custom: #25043c;
$custom-light: #634872;
$custom-dark: #000000;
JSON
{
  "hex": "#25043c",
  "rgb": {
    "r": 37,
    "g": 4,
    "b": 60
  },
  "hsl": {
    "h": 275.357,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21363,
    "c": 0.09981,
    "h": 306.3
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#25043C
secondary
#457E1E
accent
#FE2A81
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050108
muted
#7A777B

Preview Lab

Preview with #25043C

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

Preview Lab → · Contrast checker → · Palette generator →

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