#25073F#25073F

#25073F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.099 H 303.3°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#25073F
RGBrgb(37, 7, 63)
HSLhsl(272, 80%, 14%)
HSVhsv(272, 89%, 25%)
CMYKcmyk(41.3%, 88.9%, 0%, 75.3%)
CIE-LABlab(8.17, 27.51, -28.91)
CIE-LCHlch(8.17, 39.91, 313.58°)
OKLaboklab(22.09% 0.0543 -0.0825)
OKLCHoklch(22.09% 0.099 303.3)
XYZxyz(1.7359, 0.9042, 4.7847)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25073F #213F07
analogous
#09073F #25073F #3F073D
triadic
#25073F #3F2507 #073F25
tetradic
#25073F #3F0907 #213F07 #073D3F
square
#25073F #3F0907 #213F07 #073D3F
split-complementary
#25073F #3D3F07 #073F09
monochromatic
#10031C #10031C #25073F #450D76 #6613AD

Accessibility & contrast

On white

17.78
#25073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25073F
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25073F#FFFFFF#000000##FFFFFF
##25073F1.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#201623
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #25073f;
/* rgb */ color: rgb(37, 7, 63);
/* oklch */ color: oklch(22.1% 0.099 303.3);
Tailwind
colors: {
  custom: {
    50: '#634a75',
    500: '#25073f',
    950: '#000000',
  },
}
SCSS
$custom: #25073f;
$custom-light: #634a75;
$custom-dark: #000000;
JSON
{
  "hex": "#25073f",
  "rgb": {
    "r": 37,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 272.143,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22085,
    "c": 0.09872,
    "h": 303.3
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#25073F
secondary
#4E7E24
accent
#F6318D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #25073F

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

Preview Lab → · Contrast checker → · Palette generator →

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