#25113C#25113C

#25113C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.080 H 301.9°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#25113C
RGBrgb(37, 17, 60)
HSLhsl(268, 56%, 15%)
HSVhsv(268, 72%, 24%)
CMYKcmyk(38.3%, 71.7%, 0%, 76.5%)
CIE-LABlab(9.96, 20.86, -23.86)
CIE-LCHlch(9.96, 31.70, 311.17°)
OKLaboklab(23.28% 0.0422 -0.0677)
OKLCHoklch(23.28% 0.08 301.9)
XYZxyz(1.7788, 1.1205, 4.3966)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25113C #283C11
analogous
#11123C #25113C #3A113C
triadic
#25113C #3C2511 #113C25
tetradic
#25113C #3C1112 #283C11 #113C3A
square
#25113C #3C1112 #283C11 #113C3A
split-complementary
#25113C #3C3A11 #123C11
monochromatic
#0F0718 #0F0718 #25113C #421F6C #602C9B

Accessibility & contrast

On white

17.16
#25113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25113C
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25113C#FFFFFF#000000##FFFFFF
##25113C1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#041B3B
Tritanopia (blue-blind)
#201A24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25113c;
/* rgb */ color: rgb(37, 17, 60);
/* oklch */ color: oklch(23.3% 0.080 301.9);
Tailwind
colors: {
  custom: {
    50: '#625072',
    500: '#25113c',
    950: '#000000',
  },
}
SCSS
$custom: #25113c;
$custom-light: #625072;
$custom-dark: #000000;
JSON
{
  "hex": "#25113c",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 267.907,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23276,
    "c": 0.07978,
    "h": 301.9
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#25113C
secondary
#577533
accent
#DF4999
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #25113C

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

Preview Lab → · Contrast checker → · Palette generator →

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