#25135B#25135B

#25135B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.120 H 286.5°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#25135B
RGBrgb(37, 19, 91)
HSLhsl(255, 65%, 22%)
HSVhsv(255, 79%, 36%)
CMYKcmyk(59.3%, 79.1%, 0%, 64.3%)
CIE-LABlab(13.32, 29.58, -39.86)
CIE-LCHlch(13.32, 49.63, 306.58°)
OKLaboklab(26.58% 0.034 -0.1147)
OKLCHoklch(26.58% 0.12 286.5)
XYZxyz(2.8836, 1.6142, 10.0551)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25135B #495B13
analogous
#13255B #25135B #49135B
triadic
#25135B #5B2513 #135B25
tetradic
#25135B #5B1325 #495B13 #135B49
square
#25135B #5B1325 #495B13 #135B49
split-complementary
#25135B #5B4913 #255B13
monochromatic
#0A0519 #100828 #25135B #3A1E8E #4E28C0

Accessibility & contrast

On white

15.88
#25135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#25135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25135B
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25135B#FFFFFF#000000##FFFFFF
##25135B1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#00205A
Tritanopia (blue-blind)
#0D2736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #25135b;
/* rgb */ color: rgb(37, 19, 91);
/* oklch */ color: oklch(26.6% 0.120 286.5);
Tailwind
colors: {
  custom: {
    50: '#67538a',
    500: '#25135b',
    950: '#000000',
  },
}
SCSS
$custom: #25135b;
$custom-light: #67538a;
$custom-dark: #000000;
JSON
{
  "hex": "#25135b",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 255,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26584,
    "c": 0.11963,
    "h": 286.5
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#25135B
secondary
#7C9337
accent
#E83FBE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25135B

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

Preview Lab → · Contrast checker → · Palette generator →

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