#25133B#25133B

#25133B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.6% C 0.075 H 301.7°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#25133B
RGBrgb(37, 19, 59)
HSLhsl(267, 51%, 15%)
HSVhsv(267, 68%, 23%)
CMYKcmyk(37.3%, 67.8%, 0%, 76.9%)
CIE-LABlab(10.37, 19.24, -22.48)
CIE-LCHlch(10.37, 29.59, 310.56°)
OKLaboklab(23.55% 0.0393 -0.0636)
OKLCHoklch(23.55% 0.075 301.7)
XYZxyz(1.7851, 1.1748, 4.2695)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25133B #293B13
analogous
#13153B #25133B #39133B
triadic
#25133B #3B2513 #133B25
tetradic
#25133B #3B1315 #293B13 #133B39
square
#25133B #3B1315 #293B13 #133B39
split-complementary
#25133B #3B3913 #153B13
monochromatic
#0F0717 #0F0717 #25133B #422269 #5F3198

Accessibility & contrast

On white

17.00
#25133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25133B
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25133B#FFFFFF#000000##FFFFFF
##25133B1.0017.001.2317.00
#FFFFFF17.001.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021C3C
Deuteranopia (green-blind)
#081C3A
Tritanopia (blue-blind)
#211B24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #25133b;
/* rgb */ color: rgb(37, 19, 59);
/* oklch */ color: oklch(23.6% 0.075 301.7);
Tailwind
colors: {
  custom: {
    50: '#615171',
    500: '#25133b',
    950: '#000000',
  },
}
SCSS
$custom: #25133b;
$custom-light: #615171;
$custom-dark: #000000;
JSON
{
  "hex": "#25133b",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 267,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23551,
    "c": 0.07478,
    "h": 301.7
  },
  "luminance": 0.01175
}

Semantic roles & 50–950 ramp

primary
#25133B
secondary
#587336
accent
#DB4D9B
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #25133B

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

Preview Lab → · Contrast checker → · Palette generator →

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