#25135E#25135E

#25135E is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.9% C 0.124 H 285.6°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#25135E
RGBrgb(37, 19, 94)
HSLhsl(254, 66%, 22%)
HSVhsv(254, 80%, 37%)
CMYKcmyk(60.6%, 79.8%, 0%, 63.1%)
CIE-LABlab(13.63, 30.56, -41.35)
CIE-LCHlch(13.63, 51.42, 306.47°)
OKLaboklab(26.9% 0.0332 -0.119)
OKLCHoklch(26.9% 0.124 285.6)
XYZxyz(3.0156, 1.6670, 10.7504)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25135E #4C5E13
analogous
#13275E #25135E #4B135E
triadic
#25135E #5E2513 #135E25
tetradic
#25135E #5E1327 #4C5E13 #135E4B
square
#25135E #5E1327 #4C5E13 #135E4B
split-complementary
#25135E #5E4B13 #275E13
monochromatic
#0A0519 #11092B #25135E #391D91 #4D28C4

Accessibility & contrast

On white

15.75
#25135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#25135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25135E
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25135E#FFFFFF#000000##FFFFFF
##25135E1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25135e;
/* rgb */ color: rgb(37, 19, 94);
/* oklch */ color: oklch(26.9% 0.124 285.6);
Tailwind
colors: {
  custom: {
    50: '#67538c',
    500: '#25135e',
    950: '#000000',
  },
}
SCSS
$custom: #25135e;
$custom-light: #67538c;
$custom-dark: #000000;
JSON
{
  "hex": "#25135e",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 254.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26903,
    "c": 0.1236,
    "h": 285.6
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#25135E
secondary
#7F9637
accent
#E93FC0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #25135E

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

Preview Lab → · Contrast checker → · Palette generator →

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