#25146A#25146A

#25146A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.138 H 282.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#25146A
RGBrgb(37, 20, 106)
HSLhsl(252, 68%, 25%)
HSVhsv(252, 81%, 42%)
CMYKcmyk(65.1%, 81.1%, 0%, 58.4%)
CIE-LABlab(15.14, 33.92, -46.82)
CIE-LCHlch(15.14, 57.81, 305.92°)
OKLaboklab(28.35% 0.029 -0.135)
OKLCHoklch(28.35% 0.138 282.1)
XYZxyz(3.6138, 1.9340, 13.8157)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25146A #596A14
analogous
#142E6A #25146A #50146A
triadic
#25146A #6A2514 #146A25
tetradic
#25146A #6A142E #596A14 #146A50
square
#25146A #6A142E #596A14 #146A50
split-complementary
#25146A #6A5014 #2E6A14
monochromatic
#09051A #130A37 #25146A #371E9D #4927D1

Accessibility & contrast

On white

15.14
#25146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25146A
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25146A#FFFFFF#000000##FFFFFF
##25146A1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25146a;
/* rgb */ color: rgb(37, 20, 106);
/* oklch */ color: oklch(28.4% 0.138 282.1);
Tailwind
colors: {
  custom: {
    50: '#6a5496',
    500: '#25146a',
    950: '#000000',
  },
}
SCSS
$custom: #25146a;
$custom-light: #6a5496;
$custom-dark: #000000;
JSON
{
  "hex": "#25146a",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 251.86,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28353,
    "c": 0.1381,
    "h": 282.1
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#25146A
secondary
#8CA139
accent
#EB3DC9
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #25146A

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

Preview Lab → · Contrast checker → · Palette generator →

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