#230347#230347

#230347 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.113 H 297.4°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#230347
RGBrgb(35, 3, 71)
HSLhsl(268, 92%, 15%)
HSVhsv(268, 96%, 28%)
CMYKcmyk(50.7%, 95.8%, 0%, 72.2%)
CIE-LABlab(7.92, 31.68, -34.99)
CIE-LCHlch(7.92, 47.20, 312.16°)
OKLaboklab(22.11% 0.052 -0.1003)
OKLCHoklch(22.11% 0.113 297.4)
XYZxyz(1.8627, 0.8773, 6.0312)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230347 #274703
analogous
#030547 #230347 #450347
triadic
#230347 #472303 #034723
tetradic
#230347 #470305 #274703 #034745
square
#230347 #470305 #274703 #034745
split-complementary
#230347 #474503 #054703
monochromatic
#0E011D #0E011D #230347 #400582 #5D08BC

Accessibility & contrast

On white

17.87
#230347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230347
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230347#FFFFFF#000000##FFFFFF
##2303471.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001746
Tritanopia (blue-blind)
#191727
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230347;
/* rgb */ color: rgb(35, 3, 71);
/* oklch */ color: oklch(22.1% 0.113 297.4);
Tailwind
colors: {
  custom: {
    50: '#63487b',
    500: '#230347',
    950: '#000000',
  },
}
SCSS
$custom: #230347;
$custom-light: #63487b;
$custom-dark: #000000;
JSON
{
  "hex": "#230347",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 268.235,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22113,
    "c": 0.11297,
    "h": 297.4
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#230347
secondary
#56881E
accent
#FF299A
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #230347

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

Preview Lab → · Contrast checker → · Palette generator →

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