#25033B#25033B

#25033B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.100 H 307.3°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#25033B
RGBrgb(37, 3, 59)
HSLhsl(276, 90%, 12%)
HSVhsv(276, 95%, 23%)
CMYKcmyk(37.3%, 94.9%, 0%, 76.9%)
CIE-LABlab(6.99, 28.63, -27.95)
CIE-LCHlch(6.99, 40.01, 315.69°)
OKLaboklab(21.11% 0.0608 -0.0798)
OKLCHoklch(21.11% 0.1 307.3)
XYZxyz(1.5848, 0.7742, 4.2028)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25033B #193B03
analogous
#09033B #25033B #3B0335
triadic
#25033B #3B2503 #033B25
tetradic
#25033B #3B0903 #193B03 #03353B
square
#25033B #3B0903 #193B03 #03353B
split-complementary
#25033B #353B03 #033B09
monochromatic
#12011D #12011D #25033B #4A0675 #6E09AF

Accessibility & contrast

On white

18.18
#25033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#25033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25033B
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25033B#FFFFFF#000000##FFFFFF
##25033B1.0018.181.1518.18
#FFFFFF18.181.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#21121F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #25033b;
/* rgb */ color: rgb(37, 3, 59);
/* oklch */ color: oklch(21.1% 0.100 307.3);
Tailwind
colors: {
  custom: {
    50: '#634871',
    500: '#25033b',
    950: '#000000',
  },
}
SCSS
$custom: #25033b;
$custom-light: #634871;
$custom-dark: #000000;
JSON
{
  "hex": "#25033b",
  "rgb": {
    "r": 37,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 276.429,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.21114,
    "c": 0.10036,
    "h": 307.3
  },
  "luminance": 0.00774
}

Semantic roles & 50–950 ramp

primary
#25033B
secondary
#427E1C
accent
#FF297D
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050008
muted
#7A777B

Preview Lab

Preview with #25033B

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

Preview Lab → · Contrast checker → · Palette generator →

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