#25113D#25113D

#25113D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.081 H 301.3°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#25113D
RGBrgb(37, 17, 61)
HSLhsl(267, 56%, 15%)
HSVhsv(267, 72%, 24%)
CMYKcmyk(39.3%, 72.1%, 0%, 76.1%)
CIE-LABlab(10.04, 21.17, -24.44)
CIE-LCHlch(10.04, 32.34, 310.90°)
OKLaboklab(23.36% 0.0421 -0.0694)
OKLCHoklch(23.36% 0.081 301.3)
XYZxyz(1.8055, 1.1311, 4.5372)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25113D #293D11
analogous
#11133D #25113D #3B113D
triadic
#25113D #3D2511 #113D25
tetradic
#25113D #3D1113 #293D11 #113D3B
square
#25113D #3D1113 #293D11 #113D3B
split-complementary
#25113D #3D3B11 #133D11
monochromatic
#0F0718 #0F0718 #25113D #421E6D #5F2C9D

Accessibility & contrast

On white

17.13
#25113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25113D
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25113D#FFFFFF#000000##FFFFFF
##25113D1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#031B3C
Tritanopia (blue-blind)
#201B25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #25113d;
/* rgb */ color: rgb(37, 17, 61);
/* oklch */ color: oklch(23.4% 0.081 301.3);
Tailwind
colors: {
  custom: {
    50: '#625073',
    500: '#25113d',
    950: '#000000',
  },
}
SCSS
$custom: #25113d;
$custom-light: #625073;
$custom-dark: #000000;
JSON
{
  "hex": "#25113d",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 267.273,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23362,
    "c": 0.0812,
    "h": 301.3
  },
  "luminance": 0.01131
}

Semantic roles & 50–950 ramp

primary
#25113D
secondary
#587633
accent
#E0489B
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #25113D

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

Preview Lab → · Contrast checker → · Palette generator →

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