#230339#230339

#230339 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.098 H 306.6°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#230339
RGBrgb(35, 3, 57)
HSLhsl(276, 90%, 12%)
HSVhsv(276, 95%, 22%)
CMYKcmyk(38.6%, 94.7%, 0%, 77.6%)
CIE-LABlab(6.48, 27.49, -27.34)
CIE-LCHlch(6.48, 38.77, 315.16°)
OKLaboklab(20.58% 0.0582 -0.0784)
OKLCHoklch(20.58% 0.098 306.6)
XYZxyz(1.4641, 0.7179, 3.9315)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230339 #193903
analogous
#080339 #230339 #390334
triadic
#230339 #392303 #033923
tetradic
#230339 #390803 #193903 #033439
square
#230339 #390803 #193903 #033439
split-complementary
#230339 #343903 #033908
monochromatic
#12021D #12021D #230339 #470673 #6A09AD

Accessibility & contrast

On white

18.36
#230339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230339
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230339#FFFFFF#000000##FFFFFF
##2303391.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#1F111E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #230339;
/* rgb */ color: rgb(35, 3, 57);
/* oklch */ color: oklch(20.6% 0.098 306.6);
Tailwind
colors: {
  custom: {
    50: '#614770',
    500: '#230339',
    950: '#000000',
  },
}
SCSS
$custom: #230339;
$custom-light: #614770;
$custom-dark: #000000;
JSON
{
  "hex": "#230339",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 275.556,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20582,
    "c": 0.09765,
    "h": 306.6
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#230339
secondary
#437C1C
accent
#FF2980
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #230339

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

Preview Lab → · Contrast checker → · Palette generator →

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