#25133A#25133A

#25133A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.073 H 302.4°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#25133A
RGBrgb(37, 19, 58)
HSLhsl(268, 51%, 15%)
HSVhsv(268, 67%, 23%)
CMYKcmyk(36.2%, 67.2%, 0%, 77.3%)
CIE-LABlab(10.29, 18.93, -21.89)
CIE-LCHlch(10.29, 28.94, 310.86°)
OKLaboklab(23.47% 0.0393 -0.0619)
OKLCHoklch(23.47% 0.073 302.4)
XYZxyz(1.7594, 1.1645, 4.1343)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25133A #283A13
analogous
#13153A #25133A #38133A
triadic
#25133A #3A2513 #133A25
tetradic
#25133A #3A1315 #283A13 #133A38
square
#25133A #3A1315 #283A13 #133A38
split-complementary
#25133A #3A3813 #153A13
monochromatic
#0F0817 #0F0817 #25133A #422268 #603196

Accessibility & contrast

On white

17.03
#25133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#25133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25133A
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25133A#FFFFFF#000000##FFFFFF
##25133A1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3B
Deuteranopia (green-blind)
#091C39
Tritanopia (blue-blind)
#211B24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #25133a;
/* rgb */ color: rgb(37, 19, 58);
/* oklch */ color: oklch(23.5% 0.073 302.4);
Tailwind
colors: {
  custom: {
    50: '#615170',
    500: '#25133a',
    950: '#000000',
  },
}
SCSS
$custom: #25133a;
$custom-light: #615170;
$custom-dark: #000000;
JSON
{
  "hex": "#25133a",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 267.692,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2347,
    "c": 0.07331,
    "h": 302.4
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#25133A
secondary
#577236
accent
#DA4E99
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #25133A

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

Preview Lab → · Contrast checker → · Palette generator →

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