#25144D#25144D

#25144D is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.099 H 291.4°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#25144D
RGBrgb(37, 20, 77)
HSLhsl(258, 59%, 19%)
HSVhsv(258, 74%, 30%)
CMYKcmyk(51.9%, 74%, 0%, 69.8%)
CIE-LABlab(12.15, 24.36, -32.23)
CIE-LCHlch(12.15, 40.40, 307.09°)
OKLaboklab(25.33% 0.0362 -0.0923)
OKLCHoklch(25.33% 0.099 291.4)
XYZxyz(2.3523, 1.4294, 7.1717)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25144D #3C4D14
analogous
#14204D #25144D #42144D
triadic
#25144D #4D2514 #144D25
tetradic
#25144D #4D1420 #3C4D14 #144D42
square
#25144D #4D1420 #3C4D14 #144D42
split-complementary
#25144D #4D4214 #204D14
monochromatic
#0C0618 #0E071C #25144D #3C217E #542DAE

Accessibility & contrast

On white

16.33
#25144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#25144D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25144D
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25144D#FFFFFF#000000##FFFFFF
##25144D1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#18222E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #25144d;
/* rgb */ color: rgb(37, 20, 77);
/* oklch */ color: oklch(25.3% 0.099 291.4);
Tailwind
colors: {
  custom: {
    50: '#64537f',
    500: '#25144d',
    950: '#000000',
  },
}
SCSS
$custom: #25144d;
$custom-light: #64537f;
$custom-dark: #000000;
JSON
{
  "hex": "#25144d",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 257.895,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25328,
    "c": 0.09915,
    "h": 291.4
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#25144D
secondary
#6E8538
accent
#E246B3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25144D

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

Preview Lab → · Contrast checker → · Palette generator →

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