#25134C#25134C

#25134C is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.099 H 292.2°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#25134C
RGBrgb(37, 19, 76)
HSLhsl(259, 60%, 19%)
HSVhsv(259, 75%, 30%)
CMYKcmyk(51.3%, 75%, 0%, 70.2%)
CIE-LABlab(11.83, 24.67, -32.07)
CIE-LCHlch(11.83, 40.46, 307.57°)
OKLaboklab(25.07% 0.0375 -0.0918)
OKLCHoklch(25.07% 0.099 292.2)
XYZxyz(2.3000, 1.3808, 6.9814)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25134C #3A4C13
analogous
#131D4C #25134C #41134C
triadic
#25134C #4C2513 #134C25
tetradic
#25134C #4C131D #3A4C13 #134C41
square
#25134C #4C131D #3A4C13 #134C41
split-complementary
#25134C #4C4113 #1D4C13
monochromatic
#0C0618 #0D071B #25134C #3D1F7D #552BAE

Accessibility & contrast

On white

16.46
#25134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#25134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25134C
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25134C#FFFFFF#000000##FFFFFF
##25134C1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001E4B
Tritanopia (blue-blind)
#19212D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #25134c;
/* rgb */ color: rgb(37, 19, 76);
/* oklch */ color: oklch(25.1% 0.099 292.2);
Tailwind
colors: {
  custom: {
    50: '#64527f',
    500: '#25134c',
    950: '#000000',
  },
}
SCSS
$custom: #25134c;
$custom-light: #64527f;
$custom-dark: #000000;
JSON
{
  "hex": "#25134c",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 258.947,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25068,
    "c": 0.09919,
    "h": 292.2
  },
  "luminance": 0.01381
}

Semantic roles & 50–950 ramp

primary
#25134C
secondary
#6C8536
accent
#E345B1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25134C

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

Preview Lab → · Contrast checker → · Palette generator →

#25134C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva