#25134E#25134E

#25134E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.102 H 291.3°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#25134E
RGBrgb(37, 19, 78)
HSLhsl(258, 61%, 19%)
HSVhsv(258, 76%, 31%)
CMYKcmyk(52.6%, 75.6%, 0%, 69.4%)
CIE-LABlab(12.02, 25.32, -33.14)
CIE-LCHlch(12.02, 41.71, 307.38°)
OKLaboklab(25.26% 0.0371 -0.095)
OKLCHoklch(25.26% 0.102 291.3)
XYZxyz(2.3706, 1.4090, 7.3533)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25134E #3C4E13
analogous
#131F4E #25134E #43134E
triadic
#25134E #4E2513 #134E25
tetradic
#25134E #4E131F #3C4E13 #134E43
square
#25134E #4E131F #3C4E13 #134E43
split-complementary
#25134E #4E4313 #1F4E13
monochromatic
#0C0619 #0E071D #25134E #3C1F7F #542BB0

Accessibility & contrast

On white

16.38
#25134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#25134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25134E
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25134E#FFFFFF#000000##FFFFFF
##25134E1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#18222E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #25134e;
/* rgb */ color: rgb(37, 19, 78);
/* oklch */ color: oklch(25.3% 0.102 291.3);
Tailwind
colors: {
  custom: {
    50: '#645280',
    500: '#25134e',
    950: '#000000',
  },
}
SCSS
$custom: #25134e;
$custom-light: #645280;
$custom-dark: #000000;
JSON
{
  "hex": "#25134e",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 258.305,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25262,
    "c": 0.10198,
    "h": 291.3
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#25134E
secondary
#6E8736
accent
#E444B3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25134E

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

Preview Lab → · Contrast checker → · Palette generator →

#25134E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva