#25146D#25146D

#25146D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.142 H 281.4°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#25146D
RGBrgb(37, 20, 109)
HSLhsl(251, 69%, 25%)
HSVhsv(251, 82%, 43%)
CMYKcmyk(66.1%, 81.7%, 0%, 57.3%)
CIE-LABlab(15.47, 34.89, -48.22)
CIE-LCHlch(15.47, 59.52, 305.89°)
OKLaboklab(28.69% 0.0281 -0.1391)
OKLCHoklch(28.69% 0.142 281.4)
XYZxyz(3.7726, 1.9975, 14.6518)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25146D #5C6D14
analogous
#142F6D #25146D #52146D
triadic
#25146D #6D2514 #146D25
tetradic
#25146D #6D142F #5C6D14 #146D52
square
#25146D #6D142F #5C6D14 #146D52
split-complementary
#25146D #6D5214 #2F6D14
monochromatic
#09051A #130B39 #25146D #371DA1 #4827D4

Accessibility & contrast

On white

15.00
#25146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#25146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25146D
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25146D#FFFFFF#000000##FFFFFF
##25146D1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6F
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #25146d;
/* rgb */ color: rgb(37, 20, 109);
/* oklch */ color: oklch(28.7% 0.142 281.4);
Tailwind
colors: {
  custom: {
    50: '#6b5498',
    500: '#25146d',
    950: '#000000',
  },
}
SCSS
$custom: #25146d;
$custom-light: #6b5498;
$custom-dark: #000000;
JSON
{
  "hex": "#25146d",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 251.461,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28689,
    "c": 0.14194,
    "h": 281.4
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#25146D
secondary
#8FA439
accent
#EC3CCA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25146D

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

Preview Lab → · Contrast checker → · Palette generator →

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