#250334#250334

#250334 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.093 H 312.9°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#250334
RGBrgb(37, 3, 52)
HSLhsl(282, 89%, 11%)
HSVhsv(282, 94%, 20%)
CMYKcmyk(28.8%, 94.2%, 0%, 79.6%)
CIE-LABlab(6.38, 26.54, -23.83)
CIE-LCHlch(6.38, 35.67, 318.08°)
OKLaboklab(20.42% 0.0633 -0.0681)
OKLCHoklch(20.42% 0.093 312.9)
XYZxyz(1.4152, 0.7064, 3.3099)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250334 #123403
analogous
#0C0334 #250334 #34032A
triadic
#250334 #342503 #033425
tetradic
#250334 #340C03 #123403 #032A34
square
#250334 #340C03 #123403 #032A34
split-complementary
#250334 #2A3403 #03340C
monochromatic
#15021D #15021D #250334 #4E066E #770AA8

Accessibility & contrast

On white

18.40
#250334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#250334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250334
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250334#FFFFFF#000000##FFFFFF
##2503341.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#230E1B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #250334;
/* rgb */ color: rgb(37, 3, 52);
/* oklch */ color: oklch(20.4% 0.093 312.9);
Tailwind
colors: {
  custom: {
    50: '#62476c',
    500: '#250334',
    950: '#000000',
  },
}
SCSS
$custom: #250334;
$custom-light: #62476c;
$custom-dark: #000000;
JSON
{
  "hex": "#250334",
  "rgb": {
    "r": 37,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 281.633,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20421,
    "c": 0.09297,
    "h": 312.9
  },
  "luminance": 0.00706
}

Semantic roles & 50–950 ramp

primary
#250334
secondary
#38771C
accent
#FF296A
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#050007
muted
#7A777A

Preview Lab

Preview with #250334

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

Preview Lab → · Contrast checker → · Palette generator →

#250334 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva