#25146F#25146F

#25146F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.144 H 280.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#25146F
RGBrgb(37, 20, 111)
HSLhsl(251, 69%, 26%)
HSVhsv(251, 82%, 44%)
CMYKcmyk(66.7%, 82%, 0%, 56.5%)
CIE-LABlab(15.70, 35.54, -49.15)
CIE-LCHlch(15.70, 60.65, 305.87°)
OKLaboklab(28.92% 0.0274 -0.1418)
OKLCHoklch(28.92% 0.144 280.9)
XYZxyz(3.8814, 2.0410, 15.2253)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25146F #5E6F14
analogous
#14306F #25146F #52146F
triadic
#25146F #6F2514 #146F25
tetradic
#25146F #6F1430 #5E6F14 #146F52
square
#25146F #6F1430 #5E6F14 #146F52
split-complementary
#25146F #6F5214 #306F14
monochromatic
#09051A #140B3B #25146F #361DA3 #4827D7

Accessibility & contrast

On white

14.91
#25146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#25146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25146F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25146F#FFFFFF#000000##FFFFFF
##25146F1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #25146f;
/* rgb */ color: rgb(37, 20, 111);
/* oklch */ color: oklch(28.9% 0.144 280.9);
Tailwind
colors: {
  custom: {
    50: '#6b5599',
    500: '#25146f',
    950: '#000000',
  },
}
SCSS
$custom: #25146f;
$custom-light: #6b5599;
$custom-dark: #000000;
JSON
{
  "hex": "#25146f",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 251.209,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28915,
    "c": 0.14447,
    "h": 280.9
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#25146F
secondary
#91A639
accent
#EC3CCB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25146F

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

Preview Lab → · Contrast checker → · Palette generator →

#25146F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva