#25113F#25113F

#25113F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.084 H 299.9°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#25113F
RGBrgb(37, 17, 63)
HSLhsl(266, 58%, 16%)
HSVhsv(266, 73%, 25%)
CMYKcmyk(41.3%, 73%, 0%, 75.3%)
CIE-LABlab(10.21, 21.79, -25.60)
CIE-LCHlch(10.21, 33.61, 310.41°)
OKLaboklab(23.54% 0.0419 -0.0728)
OKLCHoklch(23.54% 0.084 299.9)
XYZxyz(1.8604, 1.1531, 4.8262)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25113F #2B3F11
analogous
#11143F #25113F #3C113F
triadic
#25113F #3F2511 #113F25
tetradic
#25113F #3F1114 #2B3F11 #113F3C
square
#25113F #3F1114 #2B3F11 #113F3C
split-complementary
#25113F #3F3C11 #143F11
monochromatic
#0E0718 #0E0718 #25113F #411E6F #5E2B9F

Accessibility & contrast

On white

17.06
#25113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#25113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25113F
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25113F#FFFFFF#000000##FFFFFF
##25113F1.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#011C3E
Tritanopia (blue-blind)
#1F1B26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #25113f;
/* rgb */ color: rgb(37, 17, 63);
/* oklch */ color: oklch(23.5% 0.084 299.9);
Tailwind
colors: {
  custom: {
    50: '#625074',
    500: '#25113f',
    950: '#000000',
  },
}
SCSS
$custom: #25113f;
$custom-light: #625074;
$custom-dark: #000000;
JSON
{
  "hex": "#25113f",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 266.087,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23536,
    "c": 0.08402,
    "h": 299.9
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#25113F
secondary
#5A7833
accent
#E1479E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #25113F

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

Preview Lab → · Contrast checker → · Palette generator →

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