#25053D#25053D

#25053D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.099 H 305.3°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#25053D
RGBrgb(37, 5, 61)
HSLhsl(274, 85%, 13%)
HSVhsv(274, 92%, 24%)
CMYKcmyk(39.3%, 91.8%, 0%, 76.1%)
CIE-LABlab(7.58, 28.08, -28.44)
CIE-LCHlch(7.58, 39.97, 314.64°)
OKLaboklab(21.61% 0.0574 -0.0811)
OKLCHoklch(21.61% 0.099 305.3)
XYZxyz(1.6593, 0.8388, 4.4885)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25053D #1D3D05
analogous
#09053D #25053D #3D0539
triadic
#25053D #3D2505 #053D25
tetradic
#25053D #3D0905 #1D3D05 #05393D
square
#25053D #3D0905 #1D3D05 #05393D
split-complementary
#25053D #393D05 #053D09
monochromatic
#11021C #11021C #25053D #470A76 #6A0EAE

Accessibility & contrast

On white

17.98
#25053D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#25053D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25053D
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25053D#FFFFFF#000000##FFFFFF
##25053D1.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)
#00163F
Deuteranopia (green-blind)
#00173C
Tritanopia (blue-blind)
#201421
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #25053d;
/* rgb */ color: rgb(37, 5, 61);
/* oklch */ color: oklch(21.6% 0.099 305.3);
Tailwind
colors: {
  custom: {
    50: '#634973',
    500: '#25053d',
    950: '#000000',
  },
}
SCSS
$custom: #25053d;
$custom-light: #634973;
$custom-dark: #000000;
JSON
{
  "hex": "#25053d",
  "rgb": {
    "r": 37,
    "g": 5,
    "b": 61
  },
  "hsl": {
    "h": 274.286,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21607,
    "c": 0.09936,
    "h": 305.3
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#25053D
secondary
#487E20
accent
#FB2D85
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #25053D

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

Preview Lab → · Contrast checker → · Palette generator →

#25053D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva