#25135D#25135D

#25135D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.122 H 285.9°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#25135D
RGBrgb(37, 19, 93)
HSLhsl(255, 66%, 22%)
HSVhsv(255, 80%, 36%)
CMYKcmyk(60.2%, 79.6%, 0%, 63.5%)
CIE-LABlab(13.53, 30.23, -40.85)
CIE-LCHlch(13.53, 50.82, 306.50°)
OKLaboklab(26.8% 0.0335 -0.1176)
OKLCHoklch(26.8% 0.122 285.9)
XYZxyz(2.9710, 1.6492, 10.5156)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25135D #4B5D13
analogous
#13265D #25135D #4A135D
triadic
#25135D #5D2513 #135D25
tetradic
#25135D #5D1326 #4B5D13 #135D4A
square
#25135D #5D1326 #4B5D13 #135D4A
split-complementary
#25135D #5D4A13 #265D13
monochromatic
#0A0519 #11092A #25135D #391D90 #4D28C3

Accessibility & contrast

On white

15.79
#25135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25135D
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25135D#FFFFFF#000000##FFFFFF
##25135D1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#0A2837
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #25135d;
/* rgb */ color: rgb(37, 19, 93);
/* oklch */ color: oklch(26.8% 0.122 285.9);
Tailwind
colors: {
  custom: {
    50: '#67538c',
    500: '#25135d',
    950: '#000000',
  },
}
SCSS
$custom: #25135d;
$custom-light: #67538c;
$custom-dark: #000000;
JSON
{
  "hex": "#25135d",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 254.595,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26796,
    "c": 0.12228,
    "h": 285.9
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#25135D
secondary
#7E9537
accent
#E93FC0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25135D

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

Preview Lab → · Contrast checker → · Palette generator →

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