#230746#230746

#230746 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.107 H 296.9°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#230746
RGBrgb(35, 7, 70)
HSLhsl(267, 82%, 15%)
HSVhsv(267, 90%, 27%)
CMYKcmyk(50%, 90%, 0%, 72.5%)
CIE-LABlab(8.58, 29.14, -33.21)
CIE-LCHlch(8.58, 44.18, 311.26°)
OKLaboklab(22.53% 0.0482 -0.0952)
OKLCHoklch(22.53% 0.107 296.9)
XYZxyz(1.8743, 0.9514, 5.8781)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230746 #2A4607
analogous
#070A46 #230746 #430746
triadic
#230746 #462307 #074623
tetradic
#230746 #46070A #2A4607 #074643
square
#230746 #46070A #2A4607 #074643
split-complementary
#230746 #464307 #0A4607
monochromatic
#0E031C #0E031C #230746 #3F0D7E #5B12B5

Accessibility & contrast

On white

17.64
#230746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230746
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230746#FFFFFF#000000##FFFFFF
##2307461.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#191927
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230746;
/* rgb */ color: rgb(35, 7, 70);
/* oklch */ color: oklch(22.5% 0.107 296.9);
Tailwind
colors: {
  custom: {
    50: '#634a7a',
    500: '#230746',
    950: '#000000',
  },
}
SCSS
$custom: #230746;
$custom-light: #634a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#230746",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 266.667,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22529,
    "c": 0.10669,
    "h": 296.9
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#230746
secondary
#5A8524
accent
#F8309F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #230746

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

Preview Lab → · Contrast checker → · Palette generator →

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