#25103A#25103A

#25103A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.079 H 303.8°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#25103A
RGBrgb(37, 16, 58)
HSLhsl(270, 57%, 15%)
HSVhsv(270, 72%, 23%)
CMYKcmyk(36.2%, 72.4%, 0%, 77.3%)
CIE-LABlab(9.56, 20.90, -23.07)
CIE-LCHlch(9.56, 31.13, 312.18°)
OKLaboklab(22.93% 0.0438 -0.0654)
OKLCHoklch(22.93% 0.079 303.8)
XYZxyz(1.7118, 1.0694, 4.1184)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25103A #253A10
analogous
#10103A #25103A #3A103A
triadic
#25103A #3A2510 #103A25
tetradic
#25103A #3A1010 #253A10 #103A3A
square
#25103A #3A1010 #253A10 #103A3A
split-complementary
#25103A #3A3A10 #103A10
monochromatic
#0F0718 #0F0718 #25103A #441D6A #622A9A

Accessibility & contrast

On white

17.30
#25103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#25103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25103A
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25103A#FFFFFF#000000##FFFFFF
##25103A1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#051B39
Tritanopia (blue-blind)
#211923
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25103a;
/* rgb */ color: rgb(37, 16, 58);
/* oklch */ color: oklch(22.9% 0.079 303.8);
Tailwind
colors: {
  custom: {
    50: '#624f70',
    500: '#25103a',
    950: '#000000',
  },
}
SCSS
$custom: #25103a;
$custom-light: #624f70;
$custom-dark: #000000;
JSON
{
  "hex": "#25103a",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 270,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22934,
    "c": 0.0787,
    "h": 303.8
  },
  "luminance": 0.01069
}

Semantic roles & 50–950 ramp

primary
#25103A
secondary
#537432
accent
#E04894
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #25103A

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

Preview Lab → · Contrast checker → · Palette generator →

#25103A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva