#250339#250339

#250339 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.098 H 308.8°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#250339
RGBrgb(37, 3, 57)
HSLhsl(278, 90%, 12%)
HSVhsv(278, 95%, 22%)
CMYKcmyk(35.1%, 94.7%, 0%, 77.6%)
CIE-LABlab(6.81, 28.04, -26.80)
CIE-LCHlch(6.81, 38.78, 316.30°)
OKLaboklab(20.91% 0.0616 -0.0765)
OKLCHoklch(20.91% 0.098 308.8)
XYZxyz(1.5339, 0.7539, 3.9348)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250339 #173903
analogous
#0A0339 #250339 #390332
triadic
#250339 #392503 #033925
tetradic
#250339 #390A03 #173903 #033239
square
#250339 #390A03 #173903 #033239
split-complementary
#250339 #323903 #03390A
monochromatic
#13021D #13021D #250339 #4B0673 #7009AD

Accessibility & contrast

On white

18.25
#250339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#250339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250339
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250339#FFFFFF#000000##FFFFFF
##2503391.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#22111E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #250339;
/* rgb */ color: rgb(37, 3, 57);
/* oklch */ color: oklch(20.9% 0.098 308.8);
Tailwind
colors: {
  custom: {
    50: '#634870',
    500: '#250339',
    950: '#000000',
  },
}
SCSS
$custom: #250339;
$custom-light: #634870;
$custom-dark: #000000;
JSON
{
  "hex": "#250339",
  "rgb": {
    "r": 37,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 277.778,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20911,
    "c": 0.09824,
    "h": 308.8
  },
  "luminance": 0.00754
}

Semantic roles & 50–950 ramp

primary
#250339
secondary
#407C1C
accent
#FF2978
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050007
muted
#7A777A

Preview Lab

Preview with #250339

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

Preview Lab → · Contrast checker → · Palette generator →

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