#25073B#25073B

#25073B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.094 H 306.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#25073B
RGBrgb(37, 7, 59)
HSLhsl(275, 79%, 13%)
HSVhsv(275, 88%, 23%)
CMYKcmyk(37.3%, 88.1%, 0%, 76.9%)
CIE-LABlab(7.78, 26.40, -26.67)
CIE-LCHlch(7.78, 37.53, 314.71°)
OKLaboklab(21.69% 0.0555 -0.0759)
OKLCHoklch(21.69% 0.094 306.2)
XYZxyz(1.6282, 0.8611, 4.2173)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25073B #1D3B07
analogous
#0B073B #25073B #3B0737
triadic
#25073B #3B2507 #073B25
tetradic
#25073B #3B0B07 #1D3B07 #07373B
square
#25073B #3B0B07 #1D3B07 #07373B
split-complementary
#25073B #373B07 #073B0B
monochromatic
#11031B #11031B #25073B #470D72 #6A14A8

Accessibility & contrast

On white

17.92
#25073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#25073B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25073B
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25073B#FFFFFF#000000##FFFFFF
##25073B1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#211421
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #25073b;
/* rgb */ color: rgb(37, 7, 59);
/* oklch */ color: oklch(21.7% 0.094 306.2);
Tailwind
colors: {
  custom: {
    50: '#634a71',
    500: '#25073b',
    950: '#000000',
  },
}
SCSS
$custom: #25073b;
$custom-light: #634a71;
$custom-dark: #000000;
JSON
{
  "hex": "#25073b",
  "rgb": {
    "r": 37,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 274.615,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21691,
    "c": 0.09401,
    "h": 306.2
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#25073B
secondary
#487A23
accent
#F53385
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050108
muted
#7A777B

Preview Lab

Preview with #25073B

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

Preview Lab → · Contrast checker → · Palette generator →

#25073B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva