#25136F#25136F

#25136F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.145 H 281.1°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#25136F
RGBrgb(37, 19, 111)
HSLhsl(252, 71%, 25%)
HSVhsv(252, 83%, 44%)
CMYKcmyk(66.7%, 82.9%, 0%, 56.5%)
CIE-LABlab(15.52, 36.06, -49.45)
CIE-LCHlch(15.52, 61.20, 306.10°)
OKLaboklab(28.79% 0.0281 -0.1427)
OKLCHoklch(28.79% 0.145 281.1)
XYZxyz(3.8642, 2.0065, 15.2195)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25136F #5D6F13
analogous
#132F6F #25136F #53136F
triadic
#25136F #6F2513 #136F25
tetradic
#25136F #6F132F #5D6F13 #136F53
square
#25136F #6F132F #5D6F13 #136F53
split-complementary
#25136F #6F5313 #2F6F13
monochromatic
#09041A #140A3B #25136F #361CA3 #4825D8

Accessibility & contrast

On white

14.99
#25136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#25136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25136F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25136F#FFFFFF#000000##FFFFFF
##25136F1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #25136f;
/* rgb */ color: rgb(37, 19, 111);
/* oklch */ color: oklch(28.8% 0.145 281.1);
Tailwind
colors: {
  custom: {
    50: '#6b5499',
    500: '#25136f',
    950: '#000000',
  },
}
SCSS
$custom: #25136f;
$custom-light: #6b5499;
$custom-dark: #000000;
JSON
{
  "hex": "#25136f",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 251.739,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.2879,
    "c": 0.14543,
    "h": 281.1
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#25136F
secondary
#90A638
accent
#EE3ACA
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #25136F

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

Preview Lab → · Contrast checker → · Palette generator →

#25136F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva