#25073E#25073E

#25073E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.098 H 304.0°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#25073E
RGBrgb(37, 7, 62)
HSLhsl(273, 80%, 14%)
HSVhsv(273, 89%, 24%)
CMYKcmyk(40.3%, 88.7%, 0%, 75.7%)
CIE-LABlab(8.07, 27.23, -28.36)
CIE-LCHlch(8.07, 39.32, 313.84°)
OKLaboklab(21.99% 0.0546 -0.0808)
OKLCHoklch(21.99% 0.098 304)
XYZxyz(1.7082, 0.8931, 4.6389)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25073E #203E07
analogous
#09073E #25073E #3E073B
triadic
#25073E #3E2507 #073E25
tetradic
#25073E #3E0907 #203E07 #073B3E
square
#25073E #3E0907 #203E07 #073B3E
split-complementary
#25073E #3B3E07 #073E09
monochromatic
#10031B #10031B #25073E #460D75 #6713AC

Accessibility & contrast

On white

17.82
#25073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#25073E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25073E
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25073E#FFFFFF#000000##FFFFFF
##25073E1.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001740
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#201522
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #25073e;
/* rgb */ color: rgb(37, 7, 62);
/* oklch */ color: oklch(22.0% 0.098 304.0);
Tailwind
colors: {
  custom: {
    50: '#634a74',
    500: '#25073e',
    950: '#000000',
  },
}
SCSS
$custom: #25073e;
$custom-light: #634a74;
$custom-dark: #000000;
JSON
{
  "hex": "#25073e",
  "rgb": {
    "r": 37,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 272.727,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21985,
    "c": 0.09754,
    "h": 304
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#25073E
secondary
#4C7D24
accent
#F6328B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #25073E

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

Preview Lab → · Contrast checker → · Palette generator →

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