#25113B#25113B

#25113B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.078 H 302.6°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#25113B
RGBrgb(37, 17, 59)
HSLhsl(269, 55%, 15%)
HSVhsv(269, 71%, 23%)
CMYKcmyk(37.3%, 71.2%, 0%, 76.9%)
CIE-LABlab(9.88, 20.56, -23.28)
CIE-LCHlch(9.88, 31.06, 311.45°)
OKLaboklab(23.19% 0.0423 -0.066)
OKLCHoklch(23.19% 0.078 302.6)
XYZxyz(1.7526, 1.1100, 4.2587)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25113B #273B11
analogous
#11123B #25113B #3A113B
triadic
#25113B #3B2511 #113B25
tetradic
#25113B #3B1112 #273B11 #113B3A
square
#25113B #3B1112 #273B11 #113B3A
split-complementary
#25113B #3B3A11 #123B11
monochromatic
#0F0718 #0F0718 #25113B #431F6B #612C9A

Accessibility & contrast

On white

17.18
#25113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#25113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25113B
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25113B#FFFFFF#000000##FFFFFF
##25113B1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#051B3A
Tritanopia (blue-blind)
#211A24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25113b;
/* rgb */ color: rgb(37, 17, 59);
/* oklch */ color: oklch(23.2% 0.078 302.6);
Tailwind
colors: {
  custom: {
    50: '#625071',
    500: '#25113b',
    950: '#000000',
  },
}
SCSS
$custom: #25113b;
$custom-light: #625071;
$custom-dark: #000000;
JSON
{
  "hex": "#25113b",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 268.571,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23191,
    "c": 0.07835,
    "h": 302.6
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#25113B
secondary
#557433
accent
#DF4997
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #25113B

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

Preview Lab → · Contrast checker → · Palette generator →

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