#25145E#25145E

#25145E is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.122 H 285.3°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#25145E
RGBrgb(37, 20, 94)
HSLhsl(254, 65%, 22%)
HSVhsv(254, 79%, 37%)
CMYKcmyk(60.6%, 78.7%, 0%, 63.1%)
CIE-LABlab(13.84, 29.99, -41.01)
CIE-LCHlch(13.84, 50.81, 306.17°)
OKLaboklab(27.05% 0.0324 -0.1181)
OKLCHoklch(27.05% 0.122 285.3)
XYZxyz(3.0329, 1.7016, 10.7561)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25145E #4D5E14
analogous
#14285E #25145E #4A145E
triadic
#25145E #5E2514 #145E25
tetradic
#25145E #5E1428 #4D5E14 #145E4A
square
#25145E #5E1428 #4D5E14 #145E4A
split-complementary
#25145E #5E4A14 #285E14
monochromatic
#0A0519 #11092C #25145E #391F90 #4D29C3

Accessibility & contrast

On white

15.67
#25145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#25145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25145E
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25145E#FFFFFF#000000##FFFFFF
##25145E1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#00215D
Tritanopia (blue-blind)
#092838
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #25145e;
/* rgb */ color: rgb(37, 20, 94);
/* oklch */ color: oklch(27.0% 0.122 285.3);
Tailwind
colors: {
  custom: {
    50: '#67538c',
    500: '#25145e',
    950: '#000000',
  },
}
SCSS
$custom: #25145e;
$custom-light: #67538c;
$custom-dark: #000000;
JSON
{
  "hex": "#25145e",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 253.784,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27046,
    "c": 0.12243,
    "h": 285.3
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#25145E
secondary
#809638
accent
#E840C1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #25145E

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

Preview Lab → · Contrast checker → · Palette generator →

#25145E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva