#25146B#25146B

#25146B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.139 H 281.9°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#25146B
RGBrgb(37, 20, 107)
HSLhsl(252, 69%, 25%)
HSVhsv(252, 81%, 42%)
CMYKcmyk(65.4%, 81.3%, 0%, 58%)
CIE-LABlab(15.25, 34.24, -47.29)
CIE-LCHlch(15.25, 58.38, 305.91°)
OKLaboklab(28.47% 0.0287 -0.1364)
OKLCHoklch(28.47% 0.139 281.9)
XYZxyz(3.6661, 1.9549, 14.0912)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25146B #5A6B14
analogous
#142F6B #25146B #50146B
triadic
#25146B #6B2514 #146B25
tetradic
#25146B #6B142F #5A6B14 #146B50
square
#25146B #6B142F #5A6B14 #146B50
split-complementary
#25146B #6B5014 #2F6B14
monochromatic
#09051A #130A37 #25146B #371E9F #4927D2

Accessibility & contrast

On white

15.10
#25146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#25146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25146B
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25146B#FFFFFF#000000##FFFFFF
##25146B1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25146b;
/* rgb */ color: rgb(37, 20, 107);
/* oklch */ color: oklch(28.5% 0.139 281.9);
Tailwind
colors: {
  custom: {
    50: '#6a5496',
    500: '#25146b',
    950: '#000000',
  },
}
SCSS
$custom: #25146b;
$custom-light: #6a5496;
$custom-dark: #000000;
JSON
{
  "hex": "#25146b",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 251.724,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28465,
    "c": 0.13939,
    "h": 281.9
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#25146B
secondary
#8DA239
accent
#EB3CC9
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #25146B

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

Preview Lab → · Contrast checker → · Palette generator →

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